@@ -7,13 +7,13 @@ repo. We can then check the diff and spot new or disappearing warnings.
7
7
From the repo root, run:
8
8
9
9
```
10
- cargo run --target-dir lintcheck/target --manifest-path lintcheck/Cargo.toml
10
+ cargo lintcheck
11
11
```
12
12
13
13
or
14
14
15
15
```
16
- cargo lintcheck
16
+ cargo run --target-dir lintcheck/target --manifest-path lintcheck/Cargo.toml
17
17
```
18
18
19
19
By default, the logs will be saved into
@@ -33,6 +33,8 @@ the 200 recently most downloaded crates:
33
33
cargo lintcheck popular -n 200 custom.toml
34
34
```
35
35
36
+ > Note: Lintcheck isn't sandboxed. Only use it to check crates that you trust or
37
+ > sandbox it manually.
36
38
37
39
### Configuring the Crate Sources
38
40
@@ -65,17 +67,11 @@ sources.
65
67
#### Command Line Options (optional)
66
68
67
69
``` toml
68
- bitflags = {name = " bitflags " , versions = [' 1.2.1 ' ], options = [' -Wclippy::pedantic ' , ' -Wclippy::cargo ' ]}
70
+ clap = {name = " clap " , versions = [' 4.5.8 ' ], options = [' -Fderive ' ]}
69
71
```
70
72
71
73
It is possible to specify command line options for each crate. This makes it
72
- possible to only check a crate for certain lint groups. If no options are
73
- specified, the lint groups ` clippy::all ` , ` clippy::pedantic ` , and
74
- ` clippy::cargo ` are checked. If an empty array is specified only ` clippy::all `
75
- is checked.
76
-
77
- ** Note:** ` -Wclippy::all ` is always enabled by default, unless ` -Aclippy::all `
78
- is explicitly specified in the options.
74
+ possible to enable or disable features.
79
75
80
76
### Fix mode
81
77
You can run ` cargo lintcheck --fix ` which will run Clippy with ` --fix ` and
0 commit comments