-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.commitlintrc.yml
59 lines (48 loc) · 1.7 KB
/
.commitlintrc.yml
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
extends:
- "@commitlint/config-conventional"
rules:
type-enum:
- 2
- always
# build
- - ":construction_worker:" # Changes related to the build system.
- ":green_heart:" # CI
- ":rocket:" # Deployment.
- ":pushpin:" # Pin dependencies to specific versions.
- ":arrow_down:" # Downgrade dependencies.
- ":arrow_up:" # Upgrade dependencies.
- ":truck:" # Move or rename resources (e.g.: files, paths, routes).
- ":see_no_evil:" # Add or update a .gitignore file.
- ":bookmark:" # Release / Version tags.
# bugs
- ":bug:" # Fix a bug.
- ":lock:" # When dealing with security
# features
- ":tada:" # Begin a project.
- ":sparkles:" # Introduce new features.
- ":fire:" # Remove features.
- ":zap:" # Improve performance.
# logs
- ":loud_sound:" # Add or update logs.
- ":mute:" # Remove logs.
# specifics
- ":card_file_box:" # Perform database related changes.
- ":chart_with_upwards_trend:" # Add or update analytics or track code.
- ":whale:" # Add or update Docker files.
- ":wrench:" # Add or update configuration files.
# style
- ":art:" # Improve structure / format of the code.
- ":rotating_light:" # Remove linter warnings.
- ":recycle:" # Refactor code.
# docs
- ":memo:" # Add or update documentation
# tests
- ":white_check_mark:" # Add or update tests.
# repo
- ":rewind:" # Revert changes.
- ":twisted_rightwards_arrows:" # Merge branches.
subject-case: [2, always, [sentence-case]]
parserPreset:
parserOpts:
headerPattern: '^(:\w*:) (.*)$'
headerCorrespondence: [type, subject]