-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitcommitrc-zh.json
More file actions
57 lines (57 loc) · 1.6 KB
/
gitcommitrc-zh.json
File metadata and controls
57 lines (57 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"types": [
{
"value": "feat",
"name": "产品新功能:通常是能够让用户觉察到的变化,小到文案或样式修改"
},
{
"value": "fix",
"name": "修复 bug"
},
{
"value": "docs",
"name": "更新文档或注释"
},
{
"value": "style",
"name": "代码格式调整,对逻辑无影响:比如为按照 eslint 或团队风格修改代码格式。注意不是 UI 变更"
},
{
"value": "refactor",
"name": "重构:不影响现有功能或添加功能。比如文件、变量重命名,代码抽象为函数,消除魔法数字等"
},
{
"value": "perf",
"name": "性能提升变更"
},
{
"value": "test",
"name": "单测相关变更"
},
{
"value": "ci",
"name": "持续集成相关变更"
},
{
"value": "build",
"name": "代码构建相关变更:比如修复部署时的构建问题、构建脚本 webpack 或 gulp 相关变更"
},
{
"value": "chore",
"name": "杂项:其他无法归类的变更,比如代码合并"
}
],
"messages": {
"type": "(type) 选择您正在提交的更改类型:",
"scope": "(scope) 简要描述影响范围:",
"subject": "(subject) 写一个简短的、未完成时态的变化描述:",
"body": "(body) 提供更详细的变更说明, 换行用 :\n",
"footer": "(footer) 不兼容变更和Issue关闭的信息:"
},
"maxLen": 100,
"minLen": 0,
"subjectLimit": 50,
"skipQuestions": ["body", "footer"],
"scopeRequired": false,
"lang": "zh-CN"
}