27 lines
434 B
JavaScript
27 lines
434 B
JavaScript
|
module.exports = {
|
||
|
ignores: [(commit) => commit.includes('init')],
|
||
|
extends: ['@commitlint/config-conventional'],
|
||
|
rules: {
|
||
|
'type-enum': [
|
||
|
2,
|
||
|
'always',
|
||
|
[
|
||
|
'feat',
|
||
|
'fix',
|
||
|
'docs',
|
||
|
'style',
|
||
|
'refactor',
|
||
|
'perf',
|
||
|
'test',
|
||
|
'build',
|
||
|
'ci',
|
||
|
'chore',
|
||
|
'revert',
|
||
|
'wip',
|
||
|
'mod',
|
||
|
'release',
|
||
|
],
|
||
|
],
|
||
|
},
|
||
|
}
|