@@ -10,16 +10,17 @@ A collection of lints to catch common mistakes and improve your [Rust](https://g
1010Lints are divided into categories, each with a default [ lint level] ( https://doc.rust-lang.org/rustc/lints/levels.html ) .
1111You can choose how much Clippy is supposed to ~~ annoy~~ help you by changing the lint level by category.
1212
13- | Category | Description | Default level |
14- | --------------------- | ----------------------------------------------------------------------- | ------------- |
15- | ` clippy::all ` | all lints that are on by default (correctness, style, complexity, perf) | ** warn/deny** |
16- | ` clippy::correctness ` | code that is outright wrong or very useless | ** deny** |
17- | ` clippy::style ` | code that should be written in a more idiomatic way | ** warn** |
18- | ` clippy::complexity ` | code that does something simple but in a complex way | ** warn** |
19- | ` clippy::perf ` | code that can be written to run faster | ** warn** |
20- | ` clippy::pedantic ` | lints which are rather strict or might have false positives | allow |
21- | ` clippy::nursery ` | new lints that are still under development | allow |
22- | ` clippy::cargo ` | lints for the cargo manifest | allow |
13+ | Category | Description | Default level |
14+ | --------------------- | ----------------------------------------------------------------------------------- | ------------- |
15+ | ` clippy::all ` | all lints that are on by default (correctness, suspicious, style, complexity, perf) | ** warn/deny** |
16+ | ` clippy::correctness ` | code that is outright wrong or useless | ** deny** |
17+ | ` clippy::suspicious ` | code that is most likely wrong or useless | ** warn** |
18+ | ` clippy::style ` | code that should be written in a more idiomatic way | ** warn** |
19+ | ` clippy::complexity ` | code that does something simple but in a complex way | ** warn** |
20+ | ` clippy::perf ` | code that can be written to run faster | ** warn** |
21+ | ` clippy::pedantic ` | lints which are rather strict or might have false positives | allow |
22+ | ` clippy::nursery ` | new lints that are still under development | allow |
23+ | ` clippy::cargo ` | lints for the cargo manifest | allow |
2324
2425More to come, please [ file an issue] ( https://github.com/rust-lang/rust-clippy/issues ) if you have ideas!
2526
0 commit comments