Skip to content

Commit f8ae5bb

Browse files
authored
chore: migrate Husky config from v8 to v9 format (#4003)
1 parent a563145 commit f8ae5bb

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.husky/pre-commit

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
4-
cd src/Misc/expressionFunc/hashFiles
5-
6-
npx lint-staged
1+
cd src/Misc/expressionFunc/hashFiles && npx lint-staged

src/Misc/expressionFunc/hashFiles/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"lint": "eslint src/**/*.ts",
1111
"pack": "ncc build -o ../../layoutbin/hashFiles",
1212
"all": "npm run format && npm run lint && npm run build && npm run pack",
13-
"prepare": "cd ../../../../ && husky install"
13+
"prepare": "cd ../../../../ && husky"
1414
},
1515
"repository": {
1616
"type": "git",

0 commit comments

Comments
 (0)