mark下,懒得每次需要的时候又去找
commitlint
npm install --save-dev @commitlint/
{config-conventional,cli
}
npm install --save-dev husky
{
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}
提交规范
type(scope?): subject #scope is optional
chore: run tests on travis ci
feat(blog): add comment section
fix(server): send cors headers
转载请注明原文地址: https://yun.8miu.com/read-27648.html