9 Star 68 Fork 137

JetLinks物联网基础平台 / jetlinks-ui-vue

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.commitlintrc.cjs 897 Bytes
一键复制 编辑 原始数据 按行查看 历史
xieyonghong 提交于 2023-01-12 09:54 . fix: 修复commit信息无法校验
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [
2,
'always',
[
'build', // 编译相关修改(新版本发布)
'feat', // 新功能
'fix', // 修复bug
'update', // 更新某功能
'refactor', // 重构
'docs', // 文档
'chore', // 增加依赖或库
'style', // 格式(不影响代码变动)
'revert', // 撤销commit 回滚上一版本
'perf', // 性能优化
]
],
'scope-case': [0],
},
plugins: [
{
rules: {
"commit-rule": ({ raw }) => {
return [
/^\[(build|feat|fix|update|refactor|docs|chore|style|revert|perf)].+/g.test(raw),
`commit备注信息格式错误,格式为 <[type] 修改内容>,type支持${types.join(",")}`
]
}
}
}
]
}
1
https://gitee.com/jetlinks/jetlinks-ui-vue.git
git@gitee.com:jetlinks/jetlinks-ui-vue.git
jetlinks
jetlinks-ui-vue
jetlinks-ui-vue
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891