Skip to content

Commit bb22942

Browse files
committed
build(husky): update configuration for husky v9
1 parent c59859e commit bb22942

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

.husky/commit-msg

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
31
. "$(dirname "$0")/common.sh"
42

53
yarn commitlint --edit $1

.husky/pre-commit

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
31
. "$(dirname "$0")/common.sh"
42

53
yarn precise-commits

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"scripts": {
1616
"commit": "cz",
1717
"fix": "tsc --noEmit && eslint . --fix && prettier --write .",
18-
"postinstall": "husky install",
18+
"postinstall": "husky",
1919
"lint": "tsc --noEmit && eslint . && prettier --check .",
2020
"prepack": "tsc && pinst --disable",
2121
"postpack": "pinst --enable",

0 commit comments

Comments
 (0)