-
Notifications
You must be signed in to change notification settings - Fork 103
/
.protolint.yaml
31 lines (31 loc) · 1.06 KB
/
.protolint.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
30
31
lint:
directories:
# exclude all generated third party proto files
exclude:
- third_party
rules:
# ignore max line length conflicting with proto-format
remove:
- MAX_LINE_LENGTH
rules_option:
# allow messages with empty struct and no newline
indent:
not_insert_newline: true
# allow field names that are already plural
repeated_field_names_pluralized:
uncountable_rules:
- iris
ignores:
# ignore rule enforcing pluralization of repeated filed names
# in files that are no longer maintained or already being used
# in production, new files should not be added to this list
- id: REPEATED_FIELD_NAMES_PLURALIZED
files:
- proto/regen/ecocredit/v1alpha1/genesis.proto
- proto/regen/ecocredit/v1alpha1/types.proto
- proto/regen/ecocredit/v1alpha1/tx.proto
- proto/regen/ecocredit/basket/v1/query.proto
- proto/regen/ecocredit/basket/v1/tx.proto
- proto/regen/ecocredit/v1/types.proto
- proto/regen/ecocredit/v1/tx.proto
- proto/cosmos/msg/v1/msg.proto