mirror of
https://github.com/storytold/figcraft.git
synced 2026-10-28 12:26:52 -06:00
chore(clippy): enforce strict workspace lint policy
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user