Skip to content

Commit

Permalink
fix: update husky commands
Browse files Browse the repository at this point in the history
  • Loading branch information
klieber committed Jan 29, 2025
1 parent 9d75cee commit 6835e9c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname $0)/_/husky.sh"

npx --no-install commitlint --edit $1
5 changes: 1 addition & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname $0)/_/husky.sh"

npx --no-install lint-staged
npm test
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"test": "jest --collect-coverage",
"pretest": "npm run lint",
"watch": "jest --watch",
"prepare": "husky install"
"prepare": "husky"
},
"lint-staged": {
"*.js": [
Expand Down

0 comments on commit 6835e9c

Please sign in to comment.