Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-operation-4
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
达摩4.0重构
haoban-operation-4
Commits
272707ff
Commit
272707ff
authored
Aug 14, 2020
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 添加commit msg校验
parent
b537ca95
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
commitlint.config.js
commitlint.config.js
+32
-0
No files found.
commitlint.config.js
0 → 100644
View file @
272707ff
/*
* @Descripttion: 当前组件信息
* @version: 1.0.0
* @Author: 无尘
* @Date: 2020-08-14 10:52:37
* @LastEditors: 无尘
* @LastEditTime: 2020-08-14 11:22:03
*/
module
.
exports
=
{
extends
:
[
'@commitlint/config-conventional'
],
rules
:
{
'scope-empty'
:
[
0
],
'scope-case'
:
[
0
],
'subject-full-stop'
:
[
0
,
'never'
],
'subject-case'
:
[
0
,
'never'
],
'type-enum'
:
[
// commit type 类型
2
,
'always'
,
[
'add'
,
// 新功能
'feat'
,
// 新功能
'fix'
,
// 修改问题
'update'
,
// 更新
'style'
,
// 样式
'test'
,
// 测试
'docs'
,
// 文档
'refactor'
,
// 重构
'chore'
// 依赖包/辅助工具的变动
]
]
}
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment