-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
cargohave-workaroundIssues we have / are using a workaround forIssues we have / are using a workaround for
Description
In our monorepo we want to have the same baseline of Clippy lints enabled & disabled across our crates. Right now we need to set this up manually for every crate in lib.rs
/ bin.rs
which is error prone and cumbersome.
This is what almost all of our crates have right now:
#![warn(clippy::all)]
#![warn(rust_2018_idioms)]
#![allow(clippy::new_ret_no_self)] // believe this is fixed in nightly https://github.com/rust-lang-nursery/rust-clippy/issues/3313
We would strongly prefer to instead be able to specify this in our workspace Cargo.toml
or root Clippy.toml
.
This is tracked in:
- Support defining enabled and disabled lints in a configuration file rust-lang/cargo#5034
- Allow/deny lints in clippy.toml rust-lang/rust-clippy#1313
- It is impossible to understand from the readme file how to supress lints using clippy.toml rust-lang/rust-clippy#3164
- [Roadmap] Configuration file for lints rust-lang/rust-clippy#6625
- Implicit Inheritance for Workspapce Inheritance rust-lang/cargo#12208
alex88, MaikKlein, jack-signal, ajruckman, rklaehn and 13 more
Metadata
Metadata
Assignees
Labels
cargohave-workaroundIssues we have / are using a workaround forIssues we have / are using a workaround for