chore: migrate husky v9
This commit is contained in:
parent
e0b6874330
commit
e6ea5a820b
2 changed files with 1 additions and 4 deletions
|
@ -1,6 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npx lint-staged
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"scripts": {
|
||||
"changelog": "node tools/changelog.mjs",
|
||||
"forgejo:release": "node tools/forgejo-release.js",
|
||||
"prepare": "husky install",
|
||||
"prepare": "husky",
|
||||
"prettier": "prettier --check --ignore-unknown --cache \"**/*.*\"",
|
||||
"prettier-fix": "prettier --write --ignore-unknown --cache \"**/*.*\"",
|
||||
"readme:lint": "markdownlint *.md -f",
|
||||
|
|
Loading…
Reference in a new issue