add clippy config

This commit is contained in:
n4n5 2024-06-30 16:26:36 +02:00
parent 2a0adcd736
commit 0a2394faa0
No known key found for this signature in database
GPG key ID: 79414EADC6D4B457
2 changed files with 8 additions and 0 deletions

View file

@ -155,3 +155,7 @@ retval
subdir
val
vals
# * clippy
uninlined
nonminimal

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"