-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.protolint.yaml
38 lines (33 loc) · 1.07 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
---
# Lint directives.
lint:
# Linter directories to walk.
directories:
# The specific directories to exclude.
exclude:
# NOTE: UNIX paths will be properly accepted by both UNIX and Windows.
- proto/google
- proto/protoc-gen-openapiv2
# 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
# Set the default to all linters. This option works the other way around as no_default does.
# If you want to enable this option, delete the comment out below and no_default.
# all_default: true
# The specific linters to add.
# add:
# - FIELD_NAMES_LOWER_SNAKE_CASE
# - MESSAGE_NAMES_UPPER_CAMEL_CASE
# The specific linters to remove.
# remove:
# - RPC_NAMES_UPPER_CAMEL_CASE
# Linter rules option.
rules_option:
# MAX_LINE_LENGTH rule option.
max_line_length:
# Enforces a maximum line length
max_chars: 150
# Specifies the character count for tab characters
tab_chars: 2