Skip to content

Commit 52d074a

Browse files
committed
chore: upgrade husky to v9
1 parent c82eb4b commit 52d074a

File tree

3 files changed

+12
-15
lines changed

3 files changed

+12
-15
lines changed

.husky/pre-commit

100755100644
+1-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
4-
npx lint-staged
1+
npm exec lint-staged

package-lock.json

+9-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
"eslint-plugin-react": "^7.33.2",
106106
"eslint-plugin-testing-library": "^5.11.0",
107107
"happy-dom": "^12.10.3",
108-
"husky": "^8.0.3",
108+
"husky": "^9.1.4",
109109
"i18next": "^23.12.2",
110110
"lint-staged": "^15.2.7",
111111
"mkdirp": "^1.0.4",
@@ -151,7 +151,7 @@
151151
"test:typescript": "vitest --workspace vitest.workspace.typescript.mts",
152152
"contributors:add": "all-contributors add",
153153
"contributors:generate": "all-contributors generate",
154-
"prepare": "husky install"
154+
"prepare": "husky"
155155
},
156156
"author": "Jan Mühlemann <[email protected]> (https://github.com/jamuhl)",
157157
"license": "MIT",

0 commit comments

Comments
 (0)