Skip to content

Commit e8c2b9d

Browse files
#![deny] some useful clippy lints
1 parent b54407a commit e8c2b9d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main.rs

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
// I don't really care enough about the names here to fix things atm
33
clippy::enum_variant_names,
44
)]
5+
#![deny(
6+
// Generally we don't want this sneaking into `main`
7+
clippy::todo,
8+
// This should be used very sparingly compared between logging and clap
9+
clippy::print_stdout, clippy::print_stderr,
10+
)]
511

612
pub mod color;
713
mod debug_impls;

0 commit comments

Comments
 (0)