ft/adds extra args to clippy

This commit is contained in:
itsscb 2024-06-20 22:42:43 +02:00
parent 9ae3e9f6fc
commit d6c79c7295

View File

@ -28,7 +28,9 @@ inlayHints.typeHints.hideClosureInitialization = false
diagnostics.enableInlineHints = true diagnostics.enableInlineHints = true
check.command = "clippy" check.command = "clippy"
check.args = ["--", "-W", "clippy::pedantic", "-W", "clippy::nursery", "-W", "clippy::unwrap_used", "-W", "clippy::expect_used"]
checkOnSave.command = "clippy" checkOnSave.command = "clippy"
checkOnSave.args = ["--", "-W", "clippy::pedantic", "-W", "clippy::nursery", "-W", "clippy::unwrap_used", "-W", "clippy::expect_used"]
[keys.normal] [keys.normal]
C-t = ":run-shell-command cargo test -- --nocapture" C-t = ":run-shell-command cargo test -- --nocapture"