Skip to content

Commit 26b01a7

Browse files
Fix deprecated husky config & update husky (#1500)
1 parent edc050b commit 26b01a7

File tree

3 files changed

+367
-11
lines changed

3 files changed

+367
-11
lines changed

.husky/pre-commit

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

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"lint:fix": "turbo run lint:fix",
1616
"lint:packages": "sherif",
1717
"lint:packages:fix": "sherif --fix",
18-
"prepare": "husky install",
18+
"prepare": "husky",
1919
"start": "turbo run start",
2020
"test": "turbo run test"
2121
},
@@ -41,7 +41,7 @@
4141
"cspell": "^7.2.0",
4242
"eslint": "8.57.0",
4343
"eslint-config-saleor": "workspace:*",
44-
"husky": "^8.0.3",
44+
"husky": "9.1.4",
4545
"lint-staged": "^13.2.3",
4646
"next": "14.2.3",
4747
"prettier": "3.0.3",

0 commit comments

Comments
 (0)