From a00354dbc0ecd5201ba2ac694bc4ff2dc355e393 Mon Sep 17 00:00:00 2001 From: Markus Kohlhase Date: Sun, 5 Mar 2023 18:11:28 +0100 Subject: [PATCH] Temporarily relax clippy lints --- Makefile.toml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile.toml b/Makefile.toml index 16855b72..86518136 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -111,10 +111,10 @@ dependencies = ["fmt_check", "fmt_examples_check"] [tasks.clippy] description = "Lint only Seed with Clippy" command = "cargo" -args = ["clippy", "--all-features", "--", - "--deny", "warnings", - "--deny", "clippy::pedantic", - "--deny", "clippy::nursery", +args = ["clippy", "--all-features", "--", + "--deny", "warnings", + # "--deny", "clippy::pedantic", + # "--deny", "clippy::nursery", "--allow", "clippy::vec_init_then_push", # Vec::new() + push are used in macros in shortcuts.rs ] dependencies = ["default::install-clippy"] @@ -247,8 +247,8 @@ description = "Lint with Clippy" command = "cargo" args = ["clippy", "--all-features", "--", "--deny", "warnings", - "--deny", "clippy::pedantic", - "--deny", "clippy::nursery", + # "--deny", "clippy::pedantic", + # "--deny", "clippy::nursery", "--allow", "clippy::wildcard_imports", # for `use seed::{prelude::*, *};` "--allow", "clippy::future_not_send", # JS/WASM is single threaded "--allow", "clippy::used_underscore_binding", # some libraries break this rule