-
Notifications
You must be signed in to change notification settings - Fork 0
/
prototool.yaml
34 lines (32 loc) · 979 Bytes
/
prototool.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
protoc:
# This is ignored because we always run with
# --protoc-bin-path=/usr/bin/protoc to use the protoc from our
# container
version: 3.6.1
lint:
# Linter files to ignore.
ignores:
- id: MESSAGE_NAMES_CAMEL_CASE
files:
- operator/v1alpha1/operator.proto
- id: MESSAGE_FIELD_NAMES_LOWER_SNAKE_CASE
files:
- operator/v1alpha1/operator.proto
- id: ENUM_FIELD_NAMES_UPPER_SNAKE_CASE
files:
- networking/v1alpha3/gateway.proto
- policy/v1beta1/http_response.proto
- id: REQUEST_RESPONSE_TYPES_UNIQUE
files:
- mcp/v1alpha1/mcp.proto
# Linter rules.
rules:
# The specific linters to remove.
remove:
- FILE_OPTIONS_REQUIRE_JAVA_MULTIPLE_FILES
- FILE_OPTIONS_REQUIRE_JAVA_OUTER_CLASSNAME
- FILE_OPTIONS_REQUIRE_JAVA_PACKAGE
- FILE_OPTIONS_EQUAL_GO_PACKAGE_PB_SUFFIX
- ENUM_FIELD_PREFIXES
- ENUM_ZERO_VALUES_INVALID
- COMMENTS_NO_C_STYLE