Files
vibe_coding/commitlint.config.ts
2026-03-05 21:27:11 +08:00

12 lines
325 B
TypeScript

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],
},
};