Skip to content

Commit

Permalink
chore(deps): update dependency husky to v9 (#341)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Oct 3, 2024
1 parent 219fffa commit 236b711
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 20 deletions.
5 changes: 1 addition & 4 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

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

npm run lint:fix
eslint $(git diff --cached --name-only --diff-filter=ACMR | grep '\.js$') --fix --ignore-path .gitignore
git update-index --again
5 changes: 1 addition & 4 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm test
jest
13 changes: 7 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"node": ">= 4.0"
},
"scripts": {
"prepare": "husky install",
"prepare": "husky",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "node node_modules/.bin/jest",
Expand All @@ -52,7 +52,7 @@
"cz-conventional-changelog": "3.3.0",
"eslint": "8.57.1",
"eslint-config-google": "0.14.0",
"husky": "8.0.3",
"husky": "9.1.6",
"jest": "29.7.0",
"restify": "^11.1.0",
"restify-errors": "^8.0.2",
Expand Down

0 comments on commit 236b711

Please sign in to comment.