mirror of
https://github.com/sweetwisdom/everything-claude-code-zh.git
synced 2026-03-21 22:10:09 +00:00
12 lines
371 B
JavaScript
12 lines
371 B
JavaScript
module.exports = {
|
|
extends: ['@commitlint/config-conventional'],
|
|
rules: {
|
|
'type-enum': [2, 'always', [
|
|
'feat', 'fix', 'docs', 'style', 'refactor',
|
|
'perf', 'test', 'chore', 'ci', 'build', 'revert'
|
|
]],
|
|
'subject-case': [2, 'never', ['sentence-case', 'start-case', 'pascal-case', 'upper-case']],
|
|
'header-max-length': [2, 'always', 100]
|
|
}
|
|
};
|