You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/basics.md
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,9 @@ the codebase take a look at [Adding Lints] or [Common Tools].
11
11
-[Get the Code](#get-the-code)
12
12
-[Building and Testing](#building-and-testing)
13
13
-[`cargo dev`](#cargo-dev)
14
-
-[Common Abbreviations](#common-abbreviations)
14
+
-[lintcheck](#lintcheck)
15
15
-[PR](#pr)
16
+
-[Common Abbreviations](#common-abbreviations)
16
17
17
18
## Get the Code
18
19
@@ -91,6 +92,13 @@ cargo dev new_lint
91
92
cargo dev ra_setup
92
93
```
93
94
95
+
## lintcheck
96
+
`cargo lintcheck` will build and run clippy on a fixed set of crates and generate a log of the results. You can `git diff` the updated log against its previous version and see what impact your lint made on a small set of crates.
97
+
If you add a new lint, please audit the resulting warnings and make sure there are no false positives and that the suggestions are valid.
0 commit comments