Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore new lint on generated code #363

Merged
merged 1 commit into from
Aug 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions limitador-server/src/envoy_rls/envoy_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ pub mod envoy {
pub mod core {
// clippy will barf on protobuff generated code for enum variants in
// v3::socket_option::SocketState, so allow this lint
#[allow(clippy::enum_variant_names, clippy::derive_partial_eq_without_eq)]
#[allow(
clippy::enum_variant_names,
clippy::derive_partial_eq_without_eq,
clippy::doc_lazy_continuation
)]
pub mod v3 {
tonic::include_proto!("envoy.config.core.v3");
}
Expand All @@ -30,7 +34,7 @@ pub mod envoy {

pub mod service {
pub mod ratelimit {
#[allow(clippy::derive_partial_eq_without_eq)]
#[allow(clippy::derive_partial_eq_without_eq, clippy::doc_lazy_continuation)]
pub mod v3 {
tonic::include_proto!("envoy.service.ratelimit.v3");
}
Expand Down
Loading