mirror of https://github.com/istio/api.git
31 lines
852 B
YAML
31 lines
852 B
YAML
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_FIELD_NAMES_LOWER_SNAKE_CASE
|
|
files:
|
|
- rbac/v1alpha1/rbac.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
|