Skip to content

Commit

Permalink
chore: upgrade husky to v9 (#1776)
Browse files Browse the repository at this point in the history
  • Loading branch information
ripecosta authored Aug 12, 2024
1 parent 17c1bea commit ff42302
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 15 deletions.
5 changes: 1 addition & 4 deletions .husky/pre-commit
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
npm exec lint-staged
18 changes: 9 additions & 9 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 @@ -105,7 +105,7 @@
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-testing-library": "^5.11.0",
"happy-dom": "^12.10.3",
"husky": "^8.0.3",
"husky": "^9.1.4",
"i18next": "^23.12.2",
"lint-staged": "^15.2.8",
"mkdirp": "^1.0.4",
Expand Down Expand Up @@ -151,7 +151,7 @@
"test:typescript": "vitest --workspace vitest.workspace.typescript.mts",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
"prepare": "husky install"
"prepare": "husky"
},
"author": "Jan Mühlemann <[email protected]> (https://github.com/jamuhl)",
"license": "MIT",
Expand Down

0 comments on commit ff42302

Please sign in to comment.