@yangss/lint-msg
v0.0.2
Published
Lint commit message
Downloads
1
Readme
Check your commit messages with the conventional commit format
Usage
Install @yangss/lint-msg, need to install husky as well:
npm install -D @yangss/lint-msg husky
npx husky installAdd a commit-msg hook:
npx husky add .husky/commit-msg "npx lint-msg"Make a commit:
git add .husky/pre-commit
git commit -m "cannot pass the message check"