Skip to content

Commit

Permalink
build: update hooks to husky 9
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandopasik committed Jan 26, 2024
1 parent 001700a commit 0bb936d
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 10 deletions.
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm exec -c 'commitlint --edit $1'
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"

npm exec lint-staged
3 changes: 0 additions & 3 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run verify
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"lint": "eslint . --ext js,ts",
"lit-analyze": "lit-analyzer src --strict",
"prebuild": "del lib lit-redux-router.*",
"prepare": "husky install",
"prepare": "husky",
"preversion": "npm run verify",
"size": "bundlewatch",
"start": "rollup -c",
Expand Down

0 comments on commit 0bb936d

Please sign in to comment.