enhancement(tooling): commitlint ignore for github merge

This commit is contained in:
Ben Irvin 2024-03-20 15:17:42 +01:00 committed by GitHub
parent 524fab2dfb
commit 6e35247791
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,6 +21,12 @@ const config: UserConfig = {
],
],
},
ignores: [
(commitMessage) => {
// add an exception for github
return /^Merge branch '.*' into [a-zA-Z0-9\/\-_]+$/.test(commitMessage);
},
],
};
export default config;