-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
commitlint.config.js
92 lines (92 loc) · 2.03 KB
/
commitlint.config.js
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
module.exports = {
extends: ["gitmoji"],
parserPreset: {
parserOpts: {
headerPattern:
/^(:\w*:)(?:\s)(?:\((.*?)\))?\s((?:.*(?=\())|.*)(?:\(#(\d*)\))?/,
headerCorrespondence: ["type", "scope", "subject", "ticket"],
},
},
rules: {
"type-enum": [
2,
"always",
[
":art:",
":newspaper:",
":memo:",
":zap:",
":fire:",
":books:",
":bug:",
":ambulance:",
":penguin:",
":checkered_flag:",
":robot:",
":green_ale:",
":tractor:",
":recycle:",
":white_check_mark:",
":microscope:",
":green_heart:",
":lock:",
":arrow_up:",
":arrow_down:",
":fast_forward:",
":rewind:",
":rotating_light:",
":lipstick:",
":wheelchair:",
":globe_with_meridians:",
":construction:",
":gem:",
":bookmark:",
":tada:",
":loud_sound:",
":mute:",
":sparkles:",
":speech_balloon:",
":bulb:",
":construction_worker:",
":chart_with_upwards_trend:",
":ribbon:",
":rocket:",
":heavy_minus_sign:",
":heavy_plus_sign:",
":wrench:",
":hankey:",
":leaves:",
":bank:",
":whale:",
":twisted_rightwards_arrows:",
":pushpin:",
":busts_in_silhouette:",
":children_crossing:",
":iphone:",
":clown_face:",
":ok_hand:",
":boom:",
":bento:",
":pencil2:",
":package:",
":alien:",
":truck:",
":age_facing_up:",
":busts_in_silhouette:",
":card_file_box:",
":loud-sound:",
":mute:",
":egg:",
":see-no-evil:",
":camera-flash:",
":alembic:",
":mag:",
":wheel-of-dharma:",
":label:",
":triangular_flag_on_post:",
":page_facing_up:",
],
],
"header-max-length": [2, "always", 75],
},
};