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:
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.rswhich is error prone and cumbersome.This is what almost all of our crates have right now:
We would strongly prefer to instead be able to specify this in our workspace
Cargo.tomlor rootClippy.toml.This is tracked in: