fix: put back commintlint config because the server will need it

This commit is contained in:
MikeWallaceDev 2022-07-25 12:44:54 -04:00
parent c45e4515bb
commit db2a273845

25
commitlint.config.js Normal file
View File

@ -0,0 +1,25 @@
// module.exports = {extends: ['@commitlint/config-conventional']}
module.exports = {
rules: {
'header-max-length': [2, 'always', 100],
'type-enum': [2, 'always', ['build', 'chore', 'ci', 'docs', 'feat', 'feature', 'fix', 'refactor', 'style', 'test']],
'type-empty': [2, 'never'],
'type-case': [2, 'always', 'lower-case'],
'subject-empty': [2, 'never'],
'subject-case': [
0,
'never',
['sentence-case', 'start-case', 'pascal-case', 'upper-case'],
],
'body-leading-blank': [2, 'always'],
'body-max-line-length': [2, 'always', 200],
'body-case': [0, 'never', []],
'footer-leading-blank': [1, 'always'],
'footer-max-line-length': [2, 'always', 100]
},
};