Created
October 17, 2020 23:35
-
-
Save Gabrielncosta/35dc8817b2494e6a897bf894284cdf7f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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], | |
'scope-case': [2, 'always', 'lower-case'], | |
'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', | |
], | |
], | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment