-
Notifications
You must be signed in to change notification settings - Fork 0
/
.commitlintrc.yml
44 lines (37 loc) · 888 Bytes
/
.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
rules:
# Body may be empty
body-empty:
level: ignore
# Description must not be empty
description-empty:
level: error
# Description must start with a capital letter and must not end with a period or space
description-format:
level: error
format: ^[A-Z0-9].*[^. ]$
# Description should be <70 chars
description-max-length:
level: warning
length: 70
# Scope must be one of the following
scope:
level: error
options:
- export_schema
- make_test_images
- sdk
# Scope may be empty
# (NOTE: Disabled for now while we work around
# https://github.com/KeisukeYamashita/commitlint-rs/issues/355.)
# scope-empty:
# level: ignore
# Subject line should exist
subject-empty:
level: error
# Type must be one of these options
type:
level: error
options:
- fix
- feat
- chore