compilerla / conventional-pre-commit

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

Standard git merge commit messages #110

Open lstanc opened 1 week ago

lstanc commented 1 week ago

Hi,

Maybe it would be nice to have such functionality that standard git merge commit messages are accepted by conventional-pre-commit as they are. By that I mean that they don't need to have "feat: " or the other prefixes. I think that would be good to add them as an exception to the validation rule. Below I'm placing example of such kind of message. Example: commit message "Merge branch 'main' into feature/name-of-a-feature-branch".