1pre-commit:
2 parallel: true
3 commands:
4 prettier:
5 glob: "*.{ts,tsx,js,jsx,json,jsonc,md,yml,yaml}"
6 run: bunx prettier --check {staged_files}
7 biome:
8 glob: "*.{ts,tsx,js,jsx,json,jsonc}"
9 run: bunx biome check --staged --no-errors-on-unmatched {staged_files}
10 typecheck:
11 glob: "*.{ts,tsx}"
12 run: bun run typecheck
13 knip:
14 run: bunx knip-bun
15 jscpd:
16 glob: "*.{ts,tsx}"
17 run: bunx jscpd --pattern "packages/*/src/**/*.ts" --threshold 5