mirror of
https://github.com/storytold/craft-libs.git
synced 2026-10-31 15:49:54 +00:00
* chore(lints): enforce workspace Clippy standards Deny cognitive_complexity (threshold 30, rust:S3776), too_many_arguments and wildcard_imports workspace-wide. Existing violations are fixed in follow-up commits. * refactor(keymap): isolate shortcut row rendering * test(ui): cover dock command contract cases * fix(keymap): remove unused shortcut layout state * refactor(media): simplify container serialization tests * docs: document workspace lint inheritance for new crates * refactor(text): split Knuth-Plass line costing and path extraction Brings knuth_plass under the workspace cognitive complexity limit. * test(font-store): split lookup test by concern
9 lines
314 B
TOML
9 lines
314 B
TOML
allow-unwrap-in-tests = true
|
|
allow-expect-in-tests = true
|
|
allow-panic-in-tests = true
|
|
allow-indexing-slicing-in-tests = true
|
|
cognitive-complexity-threshold = 30
|
|
disallowed-types = [
|
|
{ path = "egui::ComboBox", reason = "use craft_ui::ComboBox: egui's combo box menu can't grow back while open (egui#5225)" },
|
|
]
|