chore: migrate husky v9

This commit is contained in:
Michael Kriese 2024-01-25 08:47:17 +01:00
parent e0b6874330
commit e6ea5a820b
No known key found for this signature in database
GPG key ID: F8D7748549A5986A
2 changed files with 1 additions and 4 deletions

View file

@ -1,6 +1,3 @@
#!/bin/sh
# shellcheck source=/dev/null
. "$(dirname "$0")/_/husky.sh"
npx lint-staged

View file

@ -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",