Skip to content

Commit

Permalink
chore: upgrade husky config to v9
Browse files Browse the repository at this point in the history
  • Loading branch information
ripecosta committed Aug 19, 2024
1 parent c763b0c commit 5d8c198
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

5 changes: 1 addition & 4 deletions .husky/pre-commit
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
yarn lint-staged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"watch": "babel src -d dist -w",
"prettify": "prettier --write --list-different .",
"build": "babel src -d dist && cp index.d.ts dist",
"prepare": "husky install",
"prepare": "husky",
"prepublishOnly": "yarn -s prettify && yarn -s build"
},
"dependencies": {
Expand Down

0 comments on commit 5d8c198

Please sign in to comment.