Skip to content

Commit

Permalink
chore(lefthook): move lint to pre-push (#1540)
Browse files Browse the repository at this point in the history
  • Loading branch information
chohner authored Dec 9, 2024
1 parent dd331bf commit a793f16
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ pre-commit:
commands:
format:
run: node_modules/.bin/prettier --write '{staged_files}' && git add '{staged_files}'
lint:
run: npm run lint
typecheck:
run: npm run typecheck

pre-push:
parallel: true
commands:
"unit tests":
run: npm test
lint:
run: npm run lint

0 comments on commit a793f16

Please sign in to comment.