-
Notifications
You must be signed in to change notification settings - Fork 30
/
.protolint.yaml
39 lines (37 loc) · 1.03 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
32
33
34
35
36
37
38
39
---
# Lint directives.
lint:
# Linter rules.
# Run `protolint list` to see all available rules.
rules:
# Determines whether or not to include the default set of linters.
no_default: true
# The specific linters to add.
add:
- MESSAGE_NAMES_UPPER_CAMEL_CASE
- MAX_LINE_LENGTH 100
- INDENT 4
- SERVICE_NAMES_END_WITH
- FILE_NAMES_LOWER_SNAKE_CASE
- IMPORTS_SORTED
- PACKAGE_NAME_LOWER_CASE
- ORDER
- SERVICES_HAVE_COMMENT
- PROTO3_FIELDS_AVOID_REQUIRED
- PROTO3_GROUPS_AVOID
- ENUMS_HAVE_COMMENT
- SYNTAX_CONSISTENT
- RPC_NAMES_CASE
- FILE_HAS_COMMENT
- QUOTE_CONSISTENT
- RPCS_HAVE_COMMENT
- FIELD_NAMES_LOWER_SNAKE_CASE
# The specific linters to remove.
remove:
- REPEATED_FIELD_NAMES_PLURALIZED
- RPC_NAMES_UPPER_CAMEL_CASE
- FIELD_NAMES_EXCLUDE_PREPOSITIONS
- FIELDS_HAVE_COMMENT
- ENUM_FIELDS_HAVE_COMMENT
- MESSAGE_NAMES_EXCLUDE_PREPOSITIONS
- MESSAGES_HAVE_COMMENT