-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.commitlintrc.yml
More file actions
34 lines (34 loc) · 1.04 KB
/
.commitlintrc.yml
File metadata and controls
34 lines (34 loc) · 1.04 KB
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
---
extends:
- '@commitlint/config-conventional'
rules:
header-max-length: [1, 'always', 72]
subject-case: [2, 'never', ['sentence-case', 'start-case', 'pascal-case', 'upper-case']]
body-leading-blank: [1, 'always']
type-enum:
- 2
- always
- - build
- chore
- ci
- feat
- fix
- docs
- style
- refactor
- perf
- test
- revert
help: |
**Possible types**:
`build`: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm, pip)
`chore`: Other changes that don't modify src or test files
`ci`: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
`feat`: Adds a new feature.
`fix`: Solves a bug.
`docs`: Adds or alters documentation.
`style`: Improves formatting, white-space.
`refactor`: Rewrites code without feature, performance or bug changes.
`perf`: Improves performance.
`test`: Adds or modifies tests.
`revert`: Changes that reverting other changes