初始化
This commit is contained in:
11
commitlint.config.ts
Normal file
11
commitlint.config.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
export default {
|
||||
extends: ['@commitlint/config-conventional'],
|
||||
rules: {
|
||||
'type-enum': [2, 'always', [
|
||||
'feat', 'fix', 'refactor', 'test', 'docs',
|
||||
'chore', 'style', 'perf', 'ci', 'build', 'revert',
|
||||
]],
|
||||
'subject-max-length': [2, 'always', 100],
|
||||
'body-max-line-length': [1, 'always', 200],
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user