From 0a2394faa0647b6ed009e17ecb874061221259fa Mon Sep 17 00:00:00 2001 From: n4n5 Date: Sun, 30 Jun 2024 16:26:36 +0200 Subject: [PATCH] add clippy config --- .vscode/cspell.dictionaries/jargon.wordlist.txt | 4 ++++ Cargo.toml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.vscode/cspell.dictionaries/jargon.wordlist.txt b/.vscode/cspell.dictionaries/jargon.wordlist.txt index 20e26990f..efc90eb3c 100644 --- a/.vscode/cspell.dictionaries/jargon.wordlist.txt +++ b/.vscode/cspell.dictionaries/jargon.wordlist.txt @@ -155,3 +155,7 @@ retval subdir val vals + +# * clippy +uninlined +nonminimal diff --git a/Cargo.toml b/Cargo.toml index 1d8bba6d6..fbd143309 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"