mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-09 20:00:11 -06:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cf782cb139 |
+3
-1
@@ -96,9 +96,11 @@ arboard = { version = "3.7", default-features = false, features = ["wayland-data
|
|||||||
unsafe_code = "forbid"
|
unsafe_code = "forbid"
|
||||||
|
|
||||||
[workspace.lints.clippy]
|
[workspace.lints.clippy]
|
||||||
|
cognitive_complexity = "deny"
|
||||||
|
wildcard_imports = "deny"
|
||||||
dbg_macro = "warn"
|
dbg_macro = "warn"
|
||||||
todo = "warn"
|
todo = "warn"
|
||||||
too_many_arguments = "allow"
|
too_many_arguments = "deny"
|
||||||
type_complexity = "allow"
|
type_complexity = "allow"
|
||||||
|
|
||||||
# Line tables keep file and line in panics and backtraces; full debug info
|
# Line tables keep file and line in panics and backtraces; full debug info
|
||||||
|
|||||||
@@ -2,3 +2,4 @@ allow-unwrap-in-tests = true
|
|||||||
allow-expect-in-tests = true
|
allow-expect-in-tests = true
|
||||||
allow-panic-in-tests = true
|
allow-panic-in-tests = true
|
||||||
allow-indexing-slicing-in-tests = true
|
allow-indexing-slicing-in-tests = true
|
||||||
|
cognitive-complexity-threshold = 30
|
||||||
|
|||||||
Reference in New Issue
Block a user