代码拉取完成,页面将自动刷新
/**
* # 主要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文档
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。