You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
544 B
27 lines
544 B
module.exports = {
|
|
extends: ['@commitlint/config-conventional'],
|
|
rules: {
|
|
'body-case': [2, 'always', 'sentence-case'],
|
|
'subject-case': [2, 'always', 'sentence-case'],
|
|
'body-max-line-length': [1, 'always', 72],
|
|
'header-max-length': [1, 'always', 72],
|
|
'type-enum': [2, 'always', [
|
|
'build',
|
|
'change',
|
|
'chore',
|
|
'ci',
|
|
'deprecate',
|
|
'docs',
|
|
'feat',
|
|
'fix',
|
|
'perf',
|
|
'refactor',
|
|
'remove',
|
|
'revert',
|
|
'security',
|
|
'style',
|
|
'test'
|
|
]]
|
|
}
|
|
}
|