Skip to content

Commit 85db2c1

Browse files
committed
chore(hooks): add knip check to push hook
Add knip dependency check to the push hook to catch unused dependencies before they are pushed to the repository.
1 parent 439e312 commit 85db2c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lefthook.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@ pre-commit:
99
glob: '*'
1010
run: bun oxfmt --no-error-on-unmatched-pattern {staged_files}
1111
stage_fixed: true
12+
13+
push:
14+
jobs:
15+
- name: knip
16+
run: pnpm run lint:knip

0 commit comments

Comments
 (0)