summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2026-11-18 19:04:58 +0100
committerHampusM <hampus@hampusmat.com>2026-11-18 19:04:58 +0100
commit01b155aa9e9bfe75e24747802cbd6be19b9183fe (patch)
treecfa3a5cfc0927760cfce01bd72e6c3c36e301fd5
parentc7d53658407f27927a3ad1fb76cca709fd9d7abc (diff)
chore: change rust-analyzer config to use fcheck alias instead of clippyHEADmaster
For some reason, clippy does not want to continue linting if a dependency of a crate has a lint error. This is annoying. The fcheck alias is used for speed. Downside of this change: if the xtask crate has a compilation error, rust-analyzer does not report it. I can not find a simple solution to this problem so i have chosen to ignore it
-rw-r--r--rust-analyzer.json11
1 files changed, 1 insertions, 10 deletions
diff --git a/rust-analyzer.json b/rust-analyzer.json
index 20a3501..c12eabf 100644
--- a/rust-analyzer.json
+++ b/rust-analyzer.json
@@ -3,15 +3,6 @@
"allTargets": false
},
"check": {
- "overrideCommand": [
- "cargo",
- "+nightly",
- "clippy",
- "--config",
- ".cargo/config-nightly-fast-compile.toml",
- "--workspace",
- "--message-format=json",
- "--keep-going"
- ]
+ "command": "fcheck"
}
}