1 Star 1 Fork 328

李东平/smart-flow-design

forked from GunsFlow/smart-flow-design 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
commitlint.config.js 1.10 KB
一键复制 编辑 原始数据 按行查看 历史
luo 提交于 2022-04-21 02:26 . chore: stylelint配置文件
/**
* rule由key和配置数组组成
* 如:'key:[0, 'always', 72]'
* 数组中第一位为level,可选0,1,2,0为disable,1为warning,2为error,
* 第二位为是否应用,可选always|never,
* 第三位该rule的值
*
* 提交信息可自定义规范
* feat:新功能(feature)
fix:修补bug
docs:文档(documentation)
style: 格式(不影响代码运行的变动)
refactor:重构(即不是新增功能,也不是修改bug的代码变动)
test:增加测试
chore:构建过程或辅助工具的变动
* **/
module.exports = {
ignores: [(commit) => commit.includes('init')],
extends: ['@commitlint/config-conventional'],
rules: {
'body-leading-blank': [2, 'always'],
'footer-leading-blank': [1, 'always'],
'header-max-length': [2, 'always', 108],
'subject-empty': [2, 'never'],
'type-empty': [2, 'never'],
'subject-case': [0],
'type-enum': [2, 'always', ['feat', 'fix', 'perf', 'style', 'docs', 'test', 'refactor', 'build', 'ci', 'chore', 'revert', 'wip', 'workflow', 'types', 'release']],
},
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/ibm317/smart-flow-design.git
git@gitee.com:ibm317/smart-flow-design.git
ibm317
smart-flow-design
smart-flow-design
master

搜索帮助