2021-06-23 13:20:20 -05:00
|
|
|
module.exports = {
|
|
|
|
parserPreset: 'conventional-changelog-conventionalcommits',
|
|
|
|
rules: {
|
|
|
|
'body-leading-blank': [1, 'always'],
|
|
|
|
'body-max-line-length': [2, 'always', 100],
|
|
|
|
'footer-leading-blank': [1, 'always'],
|
|
|
|
'footer-max-line-length': [2, 'always', 100],
|
|
|
|
'header-max-length': [2, 'always', 100],
|
|
|
|
'subject-case': [
|
|
|
|
2,
|
|
|
|
'never',
|
|
|
|
['sentence-case', 'start-case', 'pascal-case', 'upper-case'],
|
|
|
|
],
|
|
|
|
'subject-empty': [2, 'never'],
|
|
|
|
'subject-full-stop': [2, 'never', '.'],
|
|
|
|
'type-case': [2, 'always', 'lower-case'],
|
|
|
|
'type-empty': [2, 'never'],
|
|
|
|
'type-enum': [
|
|
|
|
2,
|
|
|
|
'always',
|
|
|
|
[
|
|
|
|
'build',
|
|
|
|
'chore',
|
|
|
|
'ci',
|
|
|
|
'docs',
|
|
|
|
'feat',
|
|
|
|
'fix',
|
|
|
|
'perf',
|
|
|
|
'refactor',
|
|
|
|
'revert',
|
|
|
|
'style',
|
|
|
|
'test',
|
|
|
|
],
|
|
|
|
],
|
|
|
|
'scope-enum': [
|
|
|
|
1,
|
|
|
|
'always',
|
|
|
|
[
|
|
|
|
'prisma',
|
|
|
|
'scripts',
|
|
|
|
'server',
|
|
|
|
'pages',
|
2021-08-28 13:32:09 -05:00
|
|
|
'config',
|
2021-06-23 13:20:20 -05:00
|
|
|
'api',
|
|
|
|
'hooks',
|
|
|
|
'components',
|
|
|
|
'middleware',
|
|
|
|
'redux',
|
|
|
|
'themes',
|
2021-09-04 16:42:38 -05:00
|
|
|
'lib',
|
|
|
|
'assets'
|
2021-06-23 13:20:20 -05:00
|
|
|
],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
};
|