Created
March 17, 2020 13:26
-
-
Save yyynnn/14ac070a76a9a8d8434361b19e4b19af to your computer and use it in GitHub Desktop.
commitlint config
This file contains hidden or 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 = { | |
plugins: ['commitlint-plugin-jira-rules'], | |
extends: ['jira'], | |
rules: { | |
'jira-task-id-separator': [0], | |
'jira-task-id-case': [0], | |
'jira-task-id-min-length': [0], | |
'jira-commit-status-case': [0], | |
'header-max-length': [0], | |
'jira-task-id-max-length': [0], | |
'scope-case': [ | |
2, | |
'always', | |
[ | |
'lower-case', // default | |
'upper-case', // UPPERCASE | |
'camel-case', // camelCase | |
'kebab-case', // kebab-case | |
'pascal-case', // PascalCase | |
'sentence-case', // Sentence case | |
'snake-case', // snake_case | |
'start-case' // Start Case | |
] | |
], | |
'subject-case': [ | |
2, | |
'always', | |
[ | |
'lower-case', // default | |
'upper-case', // UPPERCASE | |
'camel-case', // camelCase | |
'kebab-case', // kebab-case | |
'pascal-case', // PascalCase | |
'sentence-case', // Sentence case | |
'snake-case', // snake_case | |
'start-case' // Start Case | |
] | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment