801cc42f by McLemore

fix: should add commit-msg hook by cli

1 parent c0cef9cd
...@@ -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": {
......