forked from deadvey/button
lint: add exhaustive clippy lints
This commit is contained in:
+13
@@ -18,3 +18,16 @@ opt-level = 3
|
||||
lto = true
|
||||
strip = "symbols"
|
||||
panic = "abort"
|
||||
|
||||
[lints.clippy]
|
||||
cargo = { level = "warn", priority = -1 }
|
||||
correctness = { level = "deny", priority = -1 }
|
||||
nursery = { level = "deny", priority = -1 }
|
||||
option_if_let_else = { level = "allow" }
|
||||
cargo_common_metadata = "allow"
|
||||
multiple_crate_versions = "allow"
|
||||
|
||||
pedantic = { level = "deny", priority = -1 }
|
||||
perf = { level = "deny", priority = -1 }
|
||||
style = { level = "deny", priority = -1 }
|
||||
unwrap_used = "deny"
|
||||
|
||||
Reference in New Issue
Block a user