mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-11 00:11:10 +00:00
chore(clippy): enforce strict workspace lint policy
This commit is contained in:
1 parent
90054a89c4
commit
c420613efa
2 files changed
+4
No files matched your search
@@ -102,6 +102,9 @@ webbrowser = "1"
|
|||||||
unsafe_code = "forbid"
|
unsafe_code = "forbid"
|
||||||
|
|
||||||
[workspace.lints.clippy]
|
[workspace.lints.clippy]
|
||||||
|
cognitive_complexity = "deny"
|
||||||
|
too_many_arguments = "deny"
|
||||||
|
wildcard_imports = "deny"
|
||||||
dbg_macro = "warn"
|
dbg_macro = "warn"
|
||||||
# Style lints from newer toolchains that fight index-heavy pixel code.
|
# Style lints from newer toolchains that fight index-heavy pixel code.
|
||||||
needless_range_loop = "allow"
|
needless_range_loop = "allow"
|
||||||
|
|||||||
@@ -7,3 +7,4 @@ too-many-arguments-threshold = 10
|
|||||||
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