Skip to content

Commit 5a114dc

Browse files
committed
ci(lefthook): add typos check to pre-push hook
- Add typos check to pre-push hook to catch spelling errors before pushing - Explicitly specify typos.toml configuration file - Runs after staged changes but before knip linter
1 parent 64ecad3 commit 5a114dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lefthook.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,7 @@ pre-commit:
1616

1717
pre-push:
1818
jobs:
19+
- name: typos
20+
run: typos --config typos.toml
1921
- name: knip
2022
run: pnpm run lint:knip

0 commit comments

Comments
 (0)