From 4f962f78e7b521a1d654190ce6f395a623ae29a8 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Wed, 10 Jan 2024 02:41:03 +0900 Subject: [PATCH] Ignore more clippy lints at workspace level --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index a7fcf8e7..db8dd81a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,6 +23,7 @@ trailing_empty_array = "warn" transmute_undefined_repr = "warn" undocumented_unsafe_blocks = "warn" # Suppress buggy or noisy clippy lints +bool_assert_comparison = { level = "allow", priority = 1 } borrow_as_ptr = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/8286 doc_markdown = { level = "allow", priority = 1 } float_cmp = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/7725 @@ -34,6 +35,7 @@ similar_names = { level = "allow", priority = 1 } single_match = { level = "allow", priority = 1 } single_match_else = { level = "allow", priority = 1 } struct_excessive_bools = { level = "allow", priority = 1 } +struct_field_names = { level = "allow", priority = 1 } too_many_arguments = { level = "allow", priority = 1 } too_many_lines = { level = "allow", priority = 1 } type_complexity = { level = "allow", priority = 1 }