Skip to content

Be able to disable/enable Clippy lints globally #22

@repi

Description

@repi

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    cargohave-workaroundIssues we have / are using a workaround for

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions