Commit fc562bf
chore: drop the knip:fix PostToolUse hook
Auto-running `knip --fix` after every Edit/Write fights the agent
mid-change: an `export` added in one file is deleted as "exported but
nobody imports" before the `import` in the consuming file is written.
Knip is already enforced as a PR check (.github/workflows/knip.yml runs
`bun run knip` on every PR to main), which is the right place for it —
whole-repo validation once the change is complete, not after each edit.
`typecheck` and `lint:fix` stay; they are edit-local and idempotent.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 3556287 commit fc562bf
1 file changed
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | 21 | | |
26 | 22 | | |
27 | 23 | | |
| |||
35 | 31 | | |
36 | 32 | | |
37 | 33 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 34 | | |
43 | 35 | | |
44 | 36 | | |
| |||
0 commit comments