chore: upgrade husky v9 settings

This commit is contained in:
Cotes Chung 2024-06-07 19:27:54 +08:00
parent 7ca9c59784
commit cf853f14e4
No known key found for this signature in database
GPG key ID: 0D9E54843167A808
2 changed files with 3 additions and 5 deletions

5
.husky/commit-msg Executable file → Normal file
View file

@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx --no -- commitlint --edit ${1}
npx --no -- commitlint --edit $1

View file

@ -20,7 +20,8 @@
"watch:js": "rollup -c --bundleConfigAsCjs -w",
"lint:scss": "stylelint _sass/**/*.scss",
"lint:fix:scss": "npm run lint:scss -- --fix",
"test": "npm run lint:scss"
"test": "npm run lint:scss",
"prepare": "husky"
},
"dependencies": {
"@popperjs/core": "^2.11.8",