check commit-msg
npm install git-commit-check
npm i -D git-commit-check
-
中配置(
)
"husky": { "hooks": { "commit-msg": "git-commit-check HUSKY_GIT_PARAMS" } }