1 Star 1 Fork 1.6K

slm/vue3-element-admin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
commitlint.config.js 754 Bytes
一键复制 编辑 原始数据 按行查看 历史
郝先瑞 提交于 2022-05-08 13:06 . style: 代码统一风格格式化
module.exports = {
// 继承的规则
extends: ['@commitlint/config-conventional'],
// 定义规则类型
rules: {
// type 类型定义,表示 git 提交的 type 必须在以下类型范围内
'type-enum': [
2,
'always',
[
'feat', // 新功能 feature
'fix', // 修复 bug
'docs', // 文档注释
'style', // 代码格式(不影响代码运行的变动)
'refactor', // 重构(既不增加新功能,也不是修复bug)
'perf', // 性能优化
'test', // 增加测试
'chore', // 构建过程或辅助工具的变动
'revert', // 回退
'build' // 打包
]
],
// subject 大小写不做校验
'subject-case': [0]
}
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/shalimu_river/vue3-element-admin.git
git@gitee.com:shalimu_river/vue3-element-admin.git
shalimu_river
vue3-element-admin
vue3-element-admin
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385