This repository has been archived by the owner on Oct 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
devmoji.config.cjs
121 lines (117 loc) · 2.41 KB
/
devmoji.config.cjs
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
// @ts-check
/**
* @type {import('devmoji/lib/config-options').TDevmoji[]}
*/
const devmoji = [
{
code: "feat",
description: "a new feature",
emoji: "sparkles",
},
{
code: "fix",
description: "a bug fix",
emoji: "bug",
},
{
code: "docs",
description: "documentation only changes",
emoji: "books",
},
{
code: "style",
description:
"changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)",
emoji: "art",
},
{
code: "refactor",
description: "a code change that neither fixes a bug nor adds a feature",
emoji: "recycle",
},
{
code: "perf",
description: "a code change that improves performance",
emoji: "zap",
},
{
code: "test",
description: "adding missing or correcting existing tests",
emoji: "rotating_light",
},
{
code: "chore",
description:
"changes to the build process or auxiliary tools and libraries such as documentation generation",
emoji: "wrench",
},
{
code: "chore-release",
description: "code deployment or publishing to external repositories",
emoji: "rocket",
},
{
code: "chore-deps",
description: "add or delete dependencies",
emoji: "link",
},
{
code: "build",
description: "changes related to build processes",
emoji: "package",
},
{
code: "ci",
description: "updates to the continuous integration system",
emoji: "construction_worker",
},
{
code: "release",
description: "code deployment or publishing to external repositories",
emoji: "rocket",
},
{
code: "security",
gitmoji: "lock",
},
{
code: "i18n",
gitmoji: "globe_with_meridians",
},
{
code: "breaking",
gitmoji: "boom",
},
{
code: "config",
gitmoji: "wrench",
emoji: "gear",
},
{
code: "add",
emoji: "heavy_plus_sign",
description: "add something",
},
{
code: "remove",
emoji: "heavy_minus_sign",
description: "remove something",
},
{
code: "revert",
emoji: "rewind",
description: "revert changes",
},
];
/**
* Based on the default configuration from devmoji.
*
* @see https://github.com/folke/devmoji/blob/master/src/config-options-defaults.ts
*
* @type {import('devmoji/lib/config-options').ConfigOptions}
*/
const config = {
types: devmoji.map((devmoji) => devmoji.code),
devmoji,
};
module.exports = config;