headplane/lefthook.yml
2025-06-16 11:45:24 -04:00

11 lines
331 B
YAML

pre-commit:
commands:
check:
glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}"
run: pnpm biome check --write --no-errors-on-unmatched --files-ignore-unknown=true --colors=off {staged_files}
stage_fixed: true
check_go:
glob: "*.go"
run: gofmt -w {staged_files}
stage_fixed: true