compilerla / conventional-pre-commit

A pre-commit hook that checks commit messages for Conventional Commits formatting
Apache License 2.0
336 stars 55 forks source link

feat: add support for Merge commit #19

Closed thoaionline closed 2 years ago

thoaionline commented 2 years ago

Notes to reviewer

thoaionline commented 2 years ago

@thekaveman wysiwyg

thekaveman commented 2 years ago

Thanks for your suggestion @thoaionline!

I think we'd like to keep this hook small and simple, and focused on Conventional Commits use-cases. Since this hook only comes into play locally, you do also have the option of customizing the merge commit message to be "conventional" at that time:

git commit merge -m "feat: merge new feature to main"