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.
18 lines
569 B
18 lines
569 B
const Configuration = {
|
|
extends: ['@commitlint/config-conventional'],
|
|
|
|
/** Any rules defined here will override rules from
|
|
* @commitlint/config-conventional */
|
|
rules: {
|
|
'body-max-length': [2, 'always', 120],
|
|
'body-min-length': [2, 'always', 3],
|
|
'footer-max-length': [0, 'always', Infinity],
|
|
'footer-min-length': [0, 'always', 0],
|
|
'header-max-length': [2, 'always', 120],
|
|
'header-min-length': [2, 'always', 3],
|
|
'scope-min-length': [2, 'always', 3],
|
|
'subject-min-length': [2, 'always', 3],
|
|
},
|
|
}
|
|
|
|
module.exports = Configuration
|
|
|