mirror of
https://github.com/tale/headplane.git
synced 2026-07-26 15:58:14 +00:00
15 lines
409 B
YAML
15 lines
409 B
YAML
pre-commit:
|
|
commands:
|
|
lint:
|
|
glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}"
|
|
run: pnpm lint --fix --no-error-on-unmatched-pattern {staged_files}
|
|
stage_fixed: true
|
|
format:
|
|
glob: "*"
|
|
run: pnpm format --no-error-on-unmatched-pattern {staged_files}
|
|
stage_fixed: true
|
|
check_go:
|
|
glob: "*.go"
|
|
run: gofmt -w {staged_files}
|
|
stage_fixed: true
|