I'm currently trying to use Clippy for a large multi-crate project. An issue I've found is enabling additional lints: if I want to enable missing_docs_in_private_items, I've got to add #![allow(unknown_lints)] and #![warn(missing_docs_in_private_items)] to every main.rs and lib.rs (i.e. >10 places).
It would make clippy more usable for large projects if one could allow/deny/warn lints in clippy.toml, e.g.
warn = ["missing_docs_in_private_items"]
I'm currently trying to use Clippy for a large multi-crate project. An issue I've found is enabling additional lints: if I want to enable
missing_docs_in_private_items, I've got to add#![allow(unknown_lints)]and#![warn(missing_docs_in_private_items)]to every main.rs and lib.rs (i.e. >10 places).It would make clippy more usable for large projects if one could allow/deny/warn lints in clippy.toml, e.g.