From 0f05fd0ea8cac313d1783f9a0385e900b99cc4c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Anda=20Estensen?= Date: Wed, 27 Nov 2024 09:58:22 +0100 Subject: [PATCH] chore(bolt-cli): add lints --- bolt-cli/Cargo.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bolt-cli/Cargo.toml b/bolt-cli/Cargo.toml index e3ed4bbad..d530448aa 100644 --- a/bolt-cli/Cargo.toml +++ b/bolt-cli/Cargo.toml @@ -45,3 +45,12 @@ alloy-node-bindings = "0.6.3" [build-dependencies] tonic-build = "0.12.3" + +[lints.clippy] +explicit_iter_loop = "warn" +if_not_else = "warn" +manual_let_else = "warn" +match_bool = "warn" +redundant_else = "warn" +unnecessary_self_imports = "warn" +use_self = "warn"