Lint commit messages according to a commit convention
commitlint
$ commitlint --message 'feat: add new feature'
$ commitlint --from HEAD~1 --to HEAD
$ echo 'feat: new feature' | commitlint