commitlint

Lint commit messages according to a commit convention

brewmacoslinux
Try with needOr install directly
Source

About

Lint commit messages according to a commit convention

Commands

commitlint

Examples

Lint a commit message from command line$ commitlint --message 'feat: add new feature'
Lint the last commit message$ commitlint --from HEAD~1 --to HEAD
Check commit message against config file$ echo 'feat: new feature' | commitlint