admin-web/commitlint.config.js
2024-02-01 17:11:16 +08:00

12 lines
270 B
JavaScript

// commit-lint config
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [
2,
'always',
['build', 'chore', 'ci', 'docs', 'feat', 'fix', 'perf', 'refactor', 'revert', 'style', 'test', 'types'],
],
},
};