mirror of
https://github.com/kubevela/kubevela.git
synced 2026-05-06 01:17:09 +00:00
32 lines
583 B
JavaScript
32 lines
583 B
JavaScript
const Configuration = {
|
|
/*
|
|
* Resolve and load @commitlint/config-conventional from node_modules.
|
|
* Referenced packages must be installed
|
|
*/
|
|
extends: ['@commitlint/config-conventional'],
|
|
/*
|
|
* Any rules defined here will override rules from @commitlint/config-conventional
|
|
*/
|
|
rules: {
|
|
'type-enum': [
|
|
2,
|
|
'always',
|
|
[
|
|
'Build',
|
|
'Chore',
|
|
'CI',
|
|
'Docs',
|
|
'Feat',
|
|
'Fix',
|
|
'Perf',
|
|
'Refactor',
|
|
'Revert',
|
|
'Style',
|
|
'Test',
|
|
],
|
|
],
|
|
'type-case': [2, 'never', 'lower-case'],
|
|
},
|
|
};
|
|
|
|
module.exports = Configuration; |