2023-08-21 16:01:10 +00:00
|
|
|
- included_paths:
|
2023-08-21 23:30:31 +00:00
|
|
|
- "**/*.proto"
|
2023-08-21 16:01:10 +00:00
|
|
|
disabled_rules:
|
2023-08-21 23:30:31 +00:00
|
|
|
# Since we don't care about resource annotations, we don't care about
|
|
|
|
# resource-annotation-presence.
|
|
|
|
- "core::0131::request-name-reference"
|
|
|
|
- "core::0135::request-name-reference"
|
|
|
|
# We should be able to make X_id fields required for CreateX RPCs.
|
|
|
|
- "core::0133::request-required-fields"
|
|
|
|
# Resource annotations are not required for our use case.
|
2023-08-21 16:01:10 +00:00
|
|
|
- "core::0123::resource-annotation"
|
2023-08-21 23:30:31 +00:00
|
|
|
# Field behavior defaults to OPTIONAL, so we don't want to require it.
|
|
|
|
# Required fields MUST be explicitly marked as such though.
|
|
|
|
- "core::0203::field-behavior-required"
|
|
|
|
# The proto package does not strictly match, but modeled in a way that makes
|
|
|
|
# sense for this monorepo. We prepend "peridot." and don't include the "proto"
|
|
|
|
# directory.
|
|
|
|
- "core::0191::proto-package"
|
|
|
|
# We don't follow the parent/child pattern for our services.
|
|
|
|
- "core::0133::method-signature"
|
|
|
|
- "core::0133::http-uri-parent"
|
2023-08-21 16:01:10 +00:00
|
|
|
- "core::0132::request-parent-required"
|
|
|
|
- "core::0133::request-parent-required"
|
2023-08-27 04:01:44 +00:00
|
|
|
# We want to allow certain POST methods to set body to something other than "*".
|
|
|
|
# Useful for non-JSON payloads.
|
|
|
|
- "core::0136::http-body"
|
2023-08-24 07:13:04 +00:00
|
|
|
- included_paths:
|
|
|
|
- "third_party/**/*.proto"
|
|
|
|
- "vendor/**/*.proto"
|
|
|
|
- "node_modules/**/*.proto"
|
|
|
|
- "bazel-bin/**/*.proto"
|
|
|
|
- "bazel-peridot/**/*.proto"
|
|
|
|
- "bazel-out/**/*.proto"
|
|
|
|
disabled_rules:
|
|
|
|
- all
|