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