Skip to content

Commit d227344

Browse files
authored
Use mach cargo-clippy in vscode config (#30)
Signed-off-by: Samson <[email protected]>
1 parent b7c4595 commit d227344

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/hacking/editor-support.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ Because of this, and because Servo can currently only be built with `mach`, you
2222
"rust-analyzer.rustfmt.overrideCommand": [ "./mach", "fmt" ],
2323
2424
"rust-analyzer.check.overrideCommand": [
25-
"./mach", "check", "--message-format=json" ],
25+
"./mach", "cargo-clippy", "--message-format=json" ],
2626
"rust-analyzer.cargo.buildScripts.overrideCommand": [
27-
"./mach", "check", "--message-format=json" ],
27+
"./mach", "cargo-clippy", "--message-format=json" ],
2828
}
2929
```
3030

@@ -34,9 +34,9 @@ This will require more disk space.
3434
```
3535
{
3636
"rust-analyzer.checkOnSave.overrideCommand": [
37-
"./mach", "check", "--message-format=json", "--target-dir", "target/lsp" ],
37+
"./mach", "cargo-clippy", "--message-format=json", "--target-dir", "target/lsp" ],
3838
"rust-analyzer.cargo.buildScripts.overrideCommand": [
39-
"./mach", "check", "--message-format=json", "--target-dir", "target/lsp" ],
39+
"./mach", "cargo-clippy", "--message-format=json", "--target-dir", "target/lsp" ],
4040
}
4141
```
4242

0 commit comments

Comments
 (0)