Skip to content

Commit

Permalink
chore: do not use git add . with husky pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesLMilner committed Dec 3, 2022
1 parent 67a59b0 commit 032d002
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run lint:fix:quiet
git add .
npm run lint:fix:quiet

0 comments on commit 032d002

Please sign in to comment.