Skip to content

Commit ea374cd

Browse files
authored
🎈 perf: emoji 和 type之间添加空格 #29
emoji 和 type之间添加空格以符合 commitlint-config-gitmoji 检验规则
1 parent 6686faf commit ea374cd

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

src/config/commit-type.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,43 +10,43 @@ const isShowEmoji = workspace.getConfiguration('GitCommitPlugin').get<boolean>('
1010
const CustomCommitType = workspace.getConfiguration('GitCommitPlugin').get<boolean>('CustomCommitType');
1111
let CommitType: Array<CommitType> = [
1212
{
13-
label: '✨feat',
13+
label: '✨ feat',
1414
detail: '添加新特性'
1515
},
1616
{
17-
label: '🐞fix',
17+
label: '🐞 fix',
1818
detail: '修复bug'
1919
},
2020
{
21-
label: '📃docs',
21+
label: '📃 docs',
2222
detail: '仅仅修改文档'
2323
},
2424
{
25-
label: '🌈style',
25+
label: '🌈 style',
2626
detail: '仅仅修改了空格、格式缩进、逗号等等,不改变代码逻辑'
2727
},
2828
{
29-
label: '🦄refactor',
29+
label: '🦄 refactor',
3030
detail: '代码重构,没有加新功能或者修复bug'
3131
},
3232
{
33-
label: '🎈perf',
33+
label: '🎈 perf',
3434
detail: '优化相关,比如提升性能、体验'
3535
},
3636
{
37-
label: '🧪test',
37+
label: '🧪 test',
3838
detail: '增加测试用例'
3939
},
4040
{
41-
label: '🔧build',
41+
label: '🔧 build',
4242
detail: '依赖相关的内容'
4343
},
4444
{
45-
label: '🐎ci',
45+
label: '🐎 ci',
4646
detail: 'ci配置相关 例如对 k8s,docker的配置文件的修改'
4747
},
4848
{
49-
label: '🐳chore',
49+
label: '🐳 chore',
5050
detail: '改变构建流程、或者增加依赖库、工具等'
5151
},
5252
{

0 commit comments

Comments
 (0)