Skip to content

Commit

Permalink
feat: modified pre-commit to used lint-staged
Browse files Browse the repository at this point in the history
Also added husky call for good practice.
  • Loading branch information
AlejandroSuero committed Mar 11, 2024
1 parent c3e99ca commit 01ba81a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
npm run lint
npm run format:check
#!/usr/bin/env sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged

0 comments on commit 01ba81a

Please sign in to comment.