cpnode-front/.commitlintrc.js
2021-12-27 23:33:58 +08:00

26 lines
427 B
JavaScript

module.exports = {
extends: ['@commitlint/config-conventional'],
ignores: [(message) => message.startsWith('WIP: ')],
rules: {
'type-case': [0],
'type-enum': [
2,
'always',
[
'build',
'chore',
'ci',
'docs',
'feat',
'fix',
'perf',
'refactor',
'revert',
'style',
'test',
'WIP',
],
],
},
}