Skip to content

Commit bccd0b5

Browse files
committed
workflow: Update the husky config
1 parent 8c5ec2c commit bccd0b5

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

.husky/commit-msg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
node scripts/verifyCommit.js

.husky/pre-commit

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
4-
pnpm run lint
1+
pnpm lint

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"lint:fix": "eslint . --fix",
1515
"test": "vitest",
1616
"release": "bumpp --commit --push --tag",
17-
"prepare": "npx husky install"
17+
"prepare": "husky"
1818
},
1919
"dependencies": {
2020
"@unhead/vue": "^1.8.10",

0 commit comments

Comments
 (0)