2 Star 0 Fork 0

叶码/xy-pc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.commitlintrc.js 1.21 KB
一键复制 编辑 原始数据 按行查看 历史
叶码 提交于 2024-07-08 16:24 +08:00 . feat: chushihau
/**
* # 主要type
* feat: 增加新功能
* fix: 修复bug
* refactor: 代码重构时使用
*
* # 特殊type
* build: 构造工具的或者外部依赖的改动,例如webpack,npm
* chore: 构建过程或辅助工具的变动
* test: 添加测试或者修改现有测试
* format: 只是格式化文件
*
* # 特殊type2
* style: 不影响代码含义的改动,例如去掉空格、改变缩进、增删分号
* docs: 只改动了文档相关的内容
*
* # 新增type
* ondesign: 开发设计中
* demand: 按需求开发中
* seo: 优化开发部分
* updata: 更新数据
*/
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [2, 'always', [
'feat',
'fix',
'refactor',
'build',
'chore',
'test',
'format',
'style',
'docs',
'ondesign',
'demand',
'seo',
'updata',
]],
'type-case': [0],
'type-empty': [0],
'scope-empty': [0],
'scope-case': [0],
'subject-full-stop': [0, 'never'],
'subject-case': [0, 'never'],
'header-max-length': [0, 'always', 72]
}
};
// 这些配置是什么意思?请自行查阅commitlint文档
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ye-code/xy-a.git
git@gitee.com:ye-code/xy-a.git
ye-code
xy-a
xy-pc
master

搜索帮助