64 Star 294 Fork 63

京东零售 / CCMS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.commitlintrc.js 846 Bytes
一键复制 编辑 原始数据 按行查看 历史
zjt 提交于 2022-03-02 17:58 . docs: commit&eslint
/**
* @file commitlint 配置
* commit message: <type>(<scope>): <subject>(注意冒号后面有空格)
* type 标识commit类别
* scope 标识commit影响范围
* subject 本次修改的简单描述
*/
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [
2,
'always',
[
'init', // 初始提交
'feat', // 新功能(feature)
'perf', // 优化
'fix', // 修补bug
'docs', // 文档
'style', // 格式
'refactor', // 重构
'build', // 编译构建
'test', // 增加测试
'revert', // 回滚
'chore' // 其他改动
]
],
'type-empty': [2, 'never'],
'subject-empty': [2, 'never'],
'subject-full-stop': [0, 'never'],
'subject-case': [0, 'never']
}
}
JavaScript
1
https://gitee.com/jd-platform-opensource/ccms.git
git@gitee.com:jd-platform-opensource/ccms.git
jd-platform-opensource
ccms
CCMS
master

搜索帮助