1 Star 0 Fork 9

liweiliang / discuz-com

forked from Discuz / discuz-com 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
commitlint.config.js 953 Bytes
一键复制 编辑 原始数据 按行查看 历史
zonewellhe(贺重威) 提交于 2022-06-07 18:01 . init
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [
2,
'always',
[
'feat', // 新功能(feature)
'fix', // 修补 bug
'docs', // 文档(documentation)的变动
'style', // 格式(不影响代码运行的变动)
'refactor', // 重构(即不是新增功能,也不是修改bug的代码变动)
'perf', // 性能优化
'test', // 增加测试或者更正已经存在的测试
'build', // 更改影响构建系统或者额外的依赖(例如:gulp,npm)
'ci', // 更改CI配置文件和脚本(例如:Travis,Circle)
'chore', // 构建过程或辅助工具的变动
'revert', // 如果返回之前的提交时说明的 type 类型使用 revert
'update', // 更新某功能
],
],
'subject-full-stop': [0, 'never'],
'subject-case': [0, 'never'],
},
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/ryui/discuz-com.git
git@gitee.com:ryui/discuz-com.git
ryui
discuz-com
discuz-com
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891