quasar-demo/commitlint.config.ts

23 lines
390 B
TypeScript

export default {
extends: ['@commitlint/config-conventional'],
// 自定义规则示例(可选)
rules: {
'type-enum': [
2,
'always',
[
'feat',
'fix',
'docs',
'style',
'refactor',
'test',
'chore',
'ui',
'version',
],
],
'subject-case': [0], // 允许任意大小写
},
}