mirror of
https://github.com/storytold/lightcraft.git
synced 2026-12-02 20:19:40 -05:00
chore(clippy): enforce workspace lint rules
This commit is contained in:
1 parent
56b5c8b076
commit
96c3190300
2 files changed
+4
-1
No files matched your search
+3
-1
@@ -122,9 +122,11 @@ web-sys = "0.3"
|
|||||||
unsafe_code = "deny"
|
unsafe_code = "deny"
|
||||||
|
|
||||||
[workspace.lints.clippy]
|
[workspace.lints.clippy]
|
||||||
|
cognitive_complexity = "deny"
|
||||||
|
too_many_arguments = "deny"
|
||||||
|
wildcard_imports = "deny"
|
||||||
dbg_macro = "warn"
|
dbg_macro = "warn"
|
||||||
todo = "warn"
|
todo = "warn"
|
||||||
too_many_arguments = "allow"
|
|
||||||
needless_range_loop = "allow"
|
needless_range_loop = "allow"
|
||||||
type_complexity = "allow"
|
type_complexity = "allow"
|
||||||
excessive_precision = "allow"
|
excessive_precision = "allow"
|
||||||
|
|||||||
@@ -5,3 +5,4 @@ allow-indexing-slicing-in-tests = true
|
|||||||
disallowed-types = [
|
disallowed-types = [
|
||||||
{ path = "egui::ComboBox", reason = "use craft_ui::ComboBox: egui's combo box menu can't grow back while open (egui#5225)" },
|
{ 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