mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-04 09:38:55 +00:00
chore(clippy): enforce coding standards via workspace lints
This commit is contained in:
1 parent
01c904b041
commit
b9a170a148
2 files changed
+4
-1
No files matched your search
+3
-1
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
Reference in new issue
Block a user