You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to what was mentioned in #3 (comment), but a little different. Perhaps that issue exists because this is just impossible.
I'd like to be able to use this tool, but with a blanket set of fairly "aggressive" rules across an entire organization.
Sometimes, like in the case of clippy::print_stdout this is appropriate for most projects (encourage folks to use the log crate), but I may want to disable it fro a CLI tool. Ideally I'd like to not have to adjust the project or workspace level Cranky.toml (since it may be automated). So, i'm hoping there would be a way to set an override from an in-code attribute, since that seems the most reasonable place to have such a thing...
cargo-cranky is a very thin wrapper around cargo-clippy, so it's pretty limited in what it can do. If it's not possible on the clippy commandline, then I don't think it's possible to fix from here.
Similar to what was mentioned in #3 (comment), but a little different. Perhaps that issue exists because this is just impossible.
I'd like to be able to use this tool, but with a blanket set of fairly "aggressive" rules across an entire organization.
Sometimes, like in the case of
clippy::print_stdout
this is appropriate for most projects (encourage folks to use thelog
crate), but I may want to disable it fro a CLI tool. Ideally I'd like to not have to adjust the project or workspace levelCranky.toml
(since it may be automated). So, i'm hoping there would be a way to set an override from an in-code attribute, since that seems the most reasonable place to have such a thing...See also https://rust-lang.zulipchat.com/#narrow/stream/257328-clippy/topic/Have.20in-code.20lint.20attributes.20have.20higher.20precidence.20than.20.2E.2E.2E/near/291373867
The text was updated successfully, but these errors were encountered: