add clippy config

This commit is contained in:
n4n5
2024-06-30 16:26:36 +02:00
parent 2a0adcd736
commit 0a2394faa0
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -155,3 +155,7 @@ retval
subdir
val
vals
# * clippy
uninlined
nonminimal
+4
View File
@@ -550,6 +550,10 @@ panic = "abort"
strip = true
[lints.clippy]
multiple_crate_versions = { level = "allow", priority = 1 }
cargo_common_metadata = { level = "allow", priority = 1 }
uninlined_format_args = { level = "allow", priority = 1 }
missing_panics_doc = { level = "allow", priority = 1 }
all = "deny"
cargo = "warn"
pedantic = "deny"