chore(clippy): enforce coding standards via workspace lints

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

No files matched your search

+3
View File
@@ -91,6 +91,9 @@ web-time = "1.1"
unsafe_code = "forbid"
[workspace.lints.clippy]
cognitive_complexity = "deny"
too_many_arguments = "deny"
wildcard_imports = "deny"
dbg_macro = "warn"
todo = "warn"
+1
View File
@@ -13,3 +13,4 @@ disallowed-methods = [
{ path = "egui::Ui::radio_value", reason = "use radio_value from crates/ui-egui/src/widgets.rs, which is outlined and filled" },
{ path = "egui::RadioButton::new", reason = "use radio from crates/ui-egui/src/widgets.rs, which is outlined and filled" },
]
cognitive-complexity-threshold = 30