Skip to content

Use Claude Code with your ChatGPT, Kimi, Cursor or Grok subscription via a local Anthropic-compatible proxy

Rust

fail checks on unused code warnings

Raine Virta1e2e68f55bc2
diff --git a/checkle.toml b/checkle.toml
index 6c621bb..26b5518 100644
--- a/checkle.toml
+++ b/checkle.toml
@@ -6,7 +6,15 @@ command = ["cargo", "fmt", "--all", "--", "--check"]
[[check]]
name = "clippy"
mode = "cargo"
-command = ["cargo", "clippy", "--all-targets", "--message-format=json"]
+command = [
+ "cargo",
+ "clippy",
+ "--all-targets",
+ "--message-format=json",
+ "--",
+ "-D",
+ "unused",
+]
[[check]]
name = "build"