fix: should add commit-msg hook by cli
Showing
1 changed file
with
1 additions
and
2 deletions
| ... | @@ -43,8 +43,7 @@ | ... | @@ -43,8 +43,7 @@ |
| 43 | }, | 43 | }, |
| 44 | "husky": { | 44 | "husky": { |
| 45 | "hooks": { | 45 | "hooks": { |
| 46 | "pre-commit": "npm run lint-staged", | 46 | "pre-commit": "npm run lint-staged" |
| 47 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" | ||
| 48 | } | 47 | } |
| 49 | }, | 48 | }, |
| 50 | "publishConfig": { | 49 | "publishConfig": { | ... | ... |
-
Please register or sign in to post a comment