-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.api-linter.yaml
20 lines (18 loc) · 1.04 KB
/
.api-linter.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
- included_paths:
- "protocol/error.proto"
disabled_rules:
- "core::0126::unspecified" # The first enum value should be "CODE_UNSPECIFIED"
- included_paths:
- "protocol/rpc/*.proto"
disabled_rules:
- "core::0136::verb-noun" # Custom methods should be named using a verb followed by a noun.
- "core::0136::http-uri-suffix" # Custom method should have a URI suffix matching the method name, such as "declaration:goto".
- included_paths:
- "**/*.proto"
disabled_rules:
- "core::0140::abbreviations" # Use the common abbreviation "..." instead of "..."
- "core::0146::any" # Avoid using google.protobuf.Any fields in public APIs.
- "core::0191::file-layout" # Messages should precede all top-level enums.
- "core::0192::has-comments" # Missing comment ...
- "core::0203::optional" # Use the `google.api.field_behavior` annotation instead of " Optional.
- "core::0215::versioned-packages" # API components should be in versioned packages.