-
Notifications
You must be signed in to change notification settings - Fork 912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge commit message wrong validated #1887
Comments
I have noticed the same issue. I'm sure I used to get errors on merge commits.. |
By now this is wanted behaviour I believe. Introduced with #2920 |
@tony-engineering not sure but maybe you can adjust the /*
* Functions that return true if commitlint should ignore the given message.
*/
ignores: [(commit) => commit === ''],
/*
* Whether commitlint uses the default ignore rules.
*/ |
didn't know about this feature, it worked 🙌
thank you @escapedcat ! |
I having issues with validate merge commit message.
Expected Behavior
Commitlint check merge commit message.
Current Behavior
Merge commit message wrong validated.
Affected packages
Steps to Reproduce (for bugs)
I run this script
And this message is valid.
commitlint.config.js
Your Environment
commitlint --version
git --version
node --version
The text was updated successfully, but these errors were encountered: