Skip to content

Commit

Permalink
Migrate to husky@9.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcgrtz committed Feb 2, 2024
1 parent 93ffaf3 commit 542beb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
5 changes: 3 additions & 2 deletions package.json
Expand Up @@ -25,8 +25,9 @@
"type": "module",
"exports": "./index.js",
"scripts": {
"test": "xo && c8 ava",
"coverage": "c8 report --reporter=lcov"
"coverage": "c8 report --reporter=lcov",
"prepare": "husky",
"test": "xo && c8 ava"
},
"files": [
"index.js"
Expand Down

0 comments on commit 542beb7

Please sign in to comment.