Skip to content

Commit

Permalink
chore(deps): update dependency husky to v9 (#523)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency husky to v9

* upgrade to latest husky

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: François Hodierne <[email protected]>
  • Loading branch information
renovate[bot] and znarf authored Feb 1, 2024
1 parent 355de97 commit 179f550
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
5 changes: 1 addition & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no-install lint-staged
npm run lint-staged
12 changes: 6 additions & 6 deletions package-lock.json

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

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
"prettier:write": "npm run prettier -- --write",
"start": "node dist/server",
"test:server": "TZ=UTC ./scripts/run_test.sh",
"prepare": "husky install",
"prepare": "husky",
"lint-staged": "lint-staged",
"depcheck": "npx depcheck"
},
"devDependencies": {
Expand All @@ -74,7 +75,7 @@
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "^8.0.3",
"husky": "^9.0.7",
"jest": "^29.7.0",
"lint-staged": "^15.1.0",
"nodemon": "^3.0.1",
Expand Down

0 comments on commit 179f550

Please sign in to comment.