Files
headplane/lefthook.yml
T
Aarnav Tale 15d145bf01 fix: bruh
2026-01-15 22:16:49 -05:00

15 lines
377 B
YAML

pre-commit:
commands:
lint:
glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}"
run: pnpm lint --fix {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