Skip to content

Commit

Permalink
feat(motivation): Talk to migrating allows to warns
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Nov 19, 2024
1 parent 9e3c40a commit a03f5d2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions text/3730-nit-lint-level.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:
Expand Down

0 comments on commit a03f5d2

Please sign in to comment.