-
Notifications
You must be signed in to change notification settings - Fork 0
/
.commitlintrc.yaml
29 lines (29 loc) · 1.1 KB
/
.commitlintrc.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
28
29
rules:
description-format:
level: error
format: ^[A-Z].*$ # Description must start with a capital letter
footers-empty:
level: ignore
scope:
optional: true
options:
- cloudflare
- flake
- npm
type:
level: error
options:
- build # Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
- 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)
- docs # Documentation only changes
- feat # A new feature
- fix # A bug fix
- perf # A code change that improves performance
- refactor # A code change that neither fixes a bug nor adds a feature
- revert # Reverts a previous commit
- style # Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
- test # Adding missing tests or correcting existing tests
type-format:
level: error
format: ^[a-z].*$ # Type must start with a lowercase letter