enhancement(tooling): commitlint improvements

This commit is contained in:
Ben Irvin 2024-03-20 12:52:45 +01:00
parent 6b73e9c201
commit 3ebbf1fb59

View File

@ -8,19 +8,29 @@ const config: UserConfig = {
RuleConfigSeverity.Error,
'always',
[
'build',
'chore',
'ci',
'comments',
'docs',
'enh',
'enhancement',
'feat',
'fix',
'release',
'revert',
'security',
'style',
'test',
],
],
},
ignores: [
(commitMessage) => {
// add an exception for github
return /^Merge branch '.*' into [a-zA-Z0-9\/\-_]+$/.test(commitMessage);
},
],
};
export default config;