Skip to content

Commit

Permalink
chore(husky): update config for husky v9
Browse files Browse the repository at this point in the history
  • Loading branch information
djcsdy committed Mar 26, 2024
1 parent d7909b2 commit 866c036
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/common.sh"

yarn commitlint --edit $1
2 changes: 0 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/common.sh"

yarn precise-commits
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"commit": "cz",
"fix": "tsc --noEmit && eslint . --fix && prettier --write .",
"lint": "tsc --noEmit && eslint . && prettier --check .",
"prepare": "husky install && tsc",
"prepare": "husky && tsc",
"semantic-release": "semantic-release",
"test": "echo No tests yet"
},
Expand Down

0 comments on commit 866c036

Please sign in to comment.