-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathrule-sample.yaml
27 lines (26 loc) · 1.21 KB
/
rule-sample.yaml
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
skip_prefixes:
- 'Merge '
- 'BREAKING: '
type_rules:
- type: feat
description: for a new feature for the user, not a new feature for build script.
- type: fix
description: for a bug fix for the user, not a fix to a build script.
- type: perf
description: for performance improvements.
- type: docs
description: for changes to the documentation.
- type: style
description: for formatting changes, missing semicolons, etc.
- type: refactor
description: for refactoring production code, e.g. renaming a variable.
- type: test
description: for adding missing tests, refactoring tests; no production code change.
- type: build
description: for updating build configuration, development tools or other changes irrelevant to the user.
- type: chore
description: for updates that do not apply to the above, such as dependency updates.
reference: https://github.com/masahiro331/go-commitlinter#description
style_doc: The type and scope should always be lowercase.
scope_doc: The <scope> can be empty (e.g. if the change is a global or difficult to assign to a single component), in which case the parentheses are omitted.
subject_doc: The first letter of <subject> should be lowercase.