Compare commits

...
Author SHA1 Message Date
Dylan M. Taylor 2b7bd0c315 chore(clippy): enforce coding standards via workspace lints 2026-10-27 01:35:59 +00:00
2 changed files with 4 additions and 1 deletions
+3 -1
View File
@@ -67,9 +67,11 @@ craft-window = { version = "0.1.0", git = "https://github.com/storytold/craft-li
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"
type_complexity = "allow"
[profile.dev.package."*"]
+1
View File
@@ -10,3 +10,4 @@ disallowed-methods = [
{ path = "std::time::Instant::now", reason = "traps on wasm; read the clock only off wasm" },
{ path = "std::time::SystemTime::now", reason = "traps on wasm; read the clock only off wasm" },
]
cognitive-complexity-threshold = 30