blob: 6105a00946d62068b1a5aba994e86e5d1c05e9bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
---
lint:
rules:
all_default: true
remove:
# Our use of enums isn't conforming to best practices, and it's hard to
# change retroactively. We may eventually enable these linters and then
# create exceptions for preexisting definitions.
- ENUM_FIELD_NAMES_PREFIX
- ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH
# We don't specify any line length limits.
- MAX_LINE_LENGTH
# Many of our definitions aren't commented at all. We want to eventually
# opt-in to enable these linting warnings, but right now we just want to
# get protolint included in our workflow with minimal required changes.
- FILE_HAS_COMMENT
- FIELDS_HAVE_COMMENT
# Many of our fields and messages have prepositions in them, and
# furthermore this rule doesn't feel all that sensible after all. We thus
# disable it.
- FIELD_NAMES_EXCLUDE_PREPOSITIONS
- MESSAGE_NAMES_EXCLUDE_PREPOSITIONS
|