mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-25 22:20:33 +00:00
Document lint groups
This commit is contained in:
parent
eafb9fe8df
commit
82e771d7dc
1 changed files with 9 additions and 0 deletions
|
@ -9,6 +9,15 @@ A collection of lints to catch common mistakes and improve your [Rust](https://g
|
|||
|
||||
[There are 248 lints included in this crate!](https://rust-lang-nursery.github.io/rust-clippy/master/index.html)
|
||||
|
||||
We have a bunch of lint categories to allow you to choose how much clippy is supposed to ~~annoy~~ help you:
|
||||
|
||||
* `clippy` (everything that has no false positives)
|
||||
* `clippy_pedantic` (everything)
|
||||
* `clippy_style` (code that should be written in a more idiomatic way)
|
||||
* `complexity` (code that does something simple but in a complex way)
|
||||
* `perf` (code that can be written in a faster way)
|
||||
* **`correctness`** (code that is just outright wrong or very very useless)
|
||||
|
||||
More to come, please [file an issue](https://github.com/rust-lang-nursery/rust-clippy/issues) if you have ideas!
|
||||
|
||||
Table of contents:
|
||||
|
|
Loading…
Reference in a new issue