Files
schisandra-cloud-storage-fr…/commitlint.config.js
Qing c0ea4c40b0 🔧工具(deps): add unplugin-imagemin
unplugin-imagemin +
vite-plugin-imagemin -
2024-03-21 13:18:46 +08:00

33 lines
756 B
JavaScript

module.exports = {
extents: ['@commitlint/config-conventional'],
rules: {
// 'body-leading-blank': [1, 'always'],
// 'footer-leading-blank': [1, 'always'],
// 'header-max-length': [2, 'always', 72],
// 'scope-case': [2, 'always', 'lower-case'],
// 'subject-case': [2, 'never', ['sentence-case', 'start-case', 'pascal-case', 'upper-case']],
// 'subject-empty': [2, 'never'],
// 'subject-full-stop': [2, 'never', '.'],
// 'type-case': [2, 'always', 'lower-case'],
// 'type-empty': [2, 'never'],
'type-enum': [
2,
'always',
[
'build',
'chore',
'ci',
'docs',
'feat',
'fix',
'improvement',
'perf',
'refactor',
'revert',
'style',
'test'
]
]
}
}