Skip to content

Commit

Permalink
Merge pull request #363 from Kuadrant/clippy
Browse files Browse the repository at this point in the history
Ignore new lint on generated code
  • Loading branch information
eguzki authored Aug 20, 2024
2 parents 7018f3b + e18d9f3 commit e181a5a
Showing 1 changed file with 6 additions and 2 deletions.
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

0 comments on commit e181a5a

Please sign in to comment.