mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 03:17:11 +00:00
enhancement(tooling): commitlint improvements
This commit is contained in:
parent
6b73e9c201
commit
3ebbf1fb59
@ -8,19 +8,29 @@ const config: UserConfig = {
|
|||||||
RuleConfigSeverity.Error,
|
RuleConfigSeverity.Error,
|
||||||
'always',
|
'always',
|
||||||
[
|
[
|
||||||
|
'build',
|
||||||
'chore',
|
'chore',
|
||||||
'ci',
|
'ci',
|
||||||
|
'comments',
|
||||||
'docs',
|
'docs',
|
||||||
|
'enh',
|
||||||
'enhancement',
|
'enhancement',
|
||||||
'feat',
|
'feat',
|
||||||
'fix',
|
'fix',
|
||||||
'release',
|
'release',
|
||||||
'revert',
|
'revert',
|
||||||
'security',
|
'security',
|
||||||
|
'style',
|
||||||
'test',
|
'test',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
ignores: [
|
||||||
|
(commitMessage) => {
|
||||||
|
// add an exception for github
|
||||||
|
return /^Merge branch '.*' into [a-zA-Z0-9\/\-_]+$/.test(commitMessage);
|
||||||
|
},
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
export default config;
|
export default config;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user