From a03f5d2a6124954619834590def481a4ee98f6ad Mon Sep 17 00:00:00 2001 From: Ed Page Date: Tue, 19 Nov 2024 15:58:28 -0600 Subject: [PATCH] feat(motivation): Talk to migrating allows to warns --- text/3730-nit-lint-level.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/text/3730-nit-lint-level.md b/text/3730-nit-lint-level.md index 4768c8d6665..ea51a4f0fef 100644 --- a/text/3730-nit-lint-level.md +++ b/text/3730-nit-lint-level.md @@ -66,6 +66,11 @@ It can take effort to sift through all of the [default-`allow`ed lints](https://rust-lang.github.io/rust-clippy/master/index.html?levels=allow) for which ones a maintainer may want to turn into a soft or hard error. +Another secondary benefit is that this could provide a smoother path for linter +teams to migrate `allow`s to `warn`s by having a period of time in a +non-blocking lint level so people can benefit immediately while having more +flexibility on when they pay the cost for turning the lint into a soft-error. + ## Example: `clap` Each lint below from `clap`s `Cargo.toml` represents a lint that could be useful but not worthwhile enough to `allow`: