Skip to content

Commit

Permalink
chore: migrate husky hooks to v9
Browse files Browse the repository at this point in the history
  • Loading branch information
bchew committed Apr 3, 2024
1 parent 400af62 commit d9ada03
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 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
3 changes: 0 additions & 3 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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"test": "jest --watch",
"coverage": "jest --colors --coverage",
"version": "echo '…generating dist…' && npm run dist",
"prepare": "husky install"
"prepare": "husky"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit d9ada03

Please sign in to comment.