chore(clippy): enforce coding standards via workspace lints

This commit is contained in:
Dylan M. Taylor committed 2026-10-27 01:35:28 +00:00
1 parent 01c904b041
commit b9a170a148
2 files changed
+4 -1

No files matched your search

+3 -1
View File
@@ -135,9 +135,11 @@ sys-locale = "0.3"
unsafe_code = "forbid"
[workspace.lints.clippy]
cognitive_complexity = "deny"
too_many_arguments = "deny"
wildcard_imports = "deny"
dbg_macro = "warn"
todo = "warn"
too_many_arguments = "allow"
needless_range_loop = "allow"
type_complexity = "allow"
+1
View File
@@ -2,3 +2,4 @@ allow-unwrap-in-tests = true
allow-expect-in-tests = true
allow-panic-in-tests = true
allow-indexing-slicing-in-tests = true
cognitive-complexity-threshold = 30