chore(clippy): enforce strict workspace lint policy

This commit is contained in:
Dylan M. Taylor
2026-10-28 16:00:35 +00:00
parent 90054a89c4
commit c420613efa
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -102,6 +102,9 @@ webbrowser = "1"
unsafe_code = "forbid"
[workspace.lints.clippy]
cognitive_complexity = "deny"
too_many_arguments = "deny"
wildcard_imports = "deny"
dbg_macro = "warn"
# Style lints from newer toolchains that fight index-heavy pixel code.
needless_range_loop = "allow"
+1
View File
@@ -7,3 +7,4 @@ too-many-arguments-threshold = 10
disallowed-types = [
{ path = "egui::ComboBox", reason = "use craft_ui::ComboBox: egui's combo box menu can't grow back while open (egui#5225)" },
]
cognitive-complexity-threshold = 30