Skip to content

Commit 2e05928

Browse files
committed
chore: fix husky hooks
1 parent 19192b0 commit 2e05928

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.husky/commit-msg

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

package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@
2929
"publishConfig": {
3030
"registry": "https://registry.npmjs.org"
3131
},
32-
"husky": {
33-
"hooks": {
34-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
35-
}
36-
},
3732
"keywords": [
3833
"rest-api",
3934
"rest-client",

0 commit comments

Comments
 (0)