Skip to content

Commit

Permalink
chore: update dependency husky to v9 (#208)
Browse files Browse the repository at this point in the history
* chore: update dependency husky to v9

* chore: update as its migration docs

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 唯然 <[email protected]>
  • Loading branch information
renovate[bot] and aladdin-add authored Mar 25, 2024
1 parent 0b8aeb3 commit e84d47b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"eslint-plugin-eslint-plugin": "^5.2.1",
"eslint-plugin-n": "file:.",
"fast-glob": "^3.2.12",
"husky": "^8.0.3",
"husky": "^9.0.0",
"lint-staged": "^15.2.0",
"markdownlint-cli": "^0.39.0",
"mocha": "^10.2.0",
Expand All @@ -59,7 +59,7 @@
"lint:js": "eslint .",
"new": "node scripts/new-rule",
"postversion": "git push && git push --tags",
"prepare": "npx husky install",
"prepare": "husky",
"pretest": "npm run -s lint",
"preversion": "npm test",
"test": "nyc npm run -s test:_mocha",
Expand Down

0 comments on commit e84d47b

Please sign in to comment.