diff --git a/commitlint.config.js b/commitlint.config.js deleted file mode 100644 index 3b75ed5..0000000 --- a/commitlint.config.js +++ /dev/null @@ -1,22 +0,0 @@ -module.exports = { - extends: ['@commitlint/config-conventional'], - rules: { - 'type-enum': [ - 2, - 'always', - [ - 'feat', // 新功能 feature - 'fix', // 修复 bug - 'docs', // 文档注释 - 'style', // 代码格式 - 'refactor', // 重构 - 'perf', // 性能优化 - 'test', // 增加测试 - 'chore', // 构建过程或辅助工具的变动 - 'revert', // 回退 - 'build' // 打包 - ] - ], - 'subject-case': [0] - } -};