39 Star 144 Fork 3

Gitee 极速下载/grafana

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/grafana/grafana
Clone or Download
lefthook.yml 910 Bytes
Copy Edit Raw Blame History
skip_output:
- meta
- execution_out
- skips
min_version: 1.4.3
rc: ./lefthook.rc
pre-commit:
parallel: true
commands:
frontend-betterer:
glob: '*.{ts,tsx}'
run: |
yarn betterer precommit {staged_files}
stage_fixed: true
frontend-lint:
glob: '*.{js,ts,tsx}'
run: |
yarn eslint --ext .js,.tsx,.ts --cache --fix {staged_files}
yarn prettier --write {staged_files}
stage_fixed: true
other-format:
glob: '*.{json,scss,md,mdx}'
run: yarn prettier --write {staged_files}
stage_fixed: true
backend-format:
glob: '*pkg/**/*.go'
run: gofmt -w -s {staged_files}
stage_fixed: true
cue-fix-kinds:
glob: '*kinds/**/*.cue'
run: make fix-cue
stage_fixed: true
cue-fix-public:
glob: '*public/app/plugins/**/**/*.cue'
run: make fix-cue
stage_fixed: true
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/mirrors/grafana.git
git@gitee.com:mirrors/grafana.git
mirrors
grafana
grafana
main

Search

344bd9b3 5694891 D2dac590 5694891