git-bubu-check
v2.2.3
Published
commit 之前验证commit message是否符合bubu平台的要求
Readme
git-bubu-check
Install
npm install husky --save-dev
npm install git-bubu-check --save-devUsage
Edit package.json > prepare script and run it once:
npm set-script prepare "husky install"
npm run prepareAdd a hook:
npx husky add .husky/commit-msg "npx git-bubu-check"Make a commit:
git add .
git commit -m "Keep calm and commit"
# `npm run git-bubu-check` will run