design-lint: drop the exception entries the component-constant rule leaves stale

This commit is contained in:
aiongg
2026-11-20 17:39:51 +00:00
parent 1851f6984f
commit c9d84670b0
6 changed files with 2 additions and 37 deletions
-8
View File
@@ -7,11 +7,3 @@ rule = "raw-colour/const"
path = "crates/draw/src/ui/artboard/stories.rs"
reason = "The artboard background is document data in a story, not a UI colour."
count = 2
[[exception]]
name = "convert-point-cursor-tip"
kind = "marker"
rule = "literal-size/vec2"
path = "crates/draw/src/ui/pen/anchor_tool.rs"
reason = "The cursor art's hot spot offset is in icon units, not a layout size."
count = 1
@@ -1,9 +0,0 @@
config_version = 1
[[exception]]
name = "page-rulers-story-strip"
kind = "marker"
rule = "literal-size/vec2"
path = "crates/pages/src/ui/page_rulers/stories.rs"
reason = "The strip is the demo page margin in document points, story data."
count = 1
+1 -1
View File
@@ -6,7 +6,7 @@ kind = "marker"
rule = "literal-size/vec2"
path = "crates/print/src/ui/dialog.rs"
reason = "Printer's marks are page geometry in points, not UI sizes."
count = 4
count = 2
[[exception]]
name = "print-story-page-sizes"
@@ -1,9 +0,0 @@
config_version = 1
[[exception]]
name = "view-fit-margins"
kind = "marker"
rule = "literal-size/vec2"
path = "crates/ui-canvas/src/canvas/tools.rs"
reason = "The room a view fit leaves around the document is in screen points, not a look."
count = 2
@@ -6,7 +6,7 @@ kind = "marker"
rule = "literal-size/vec2"
path = "crates/ui-contract/src/primitives/pointer_art.rs"
reason = "Painted pointers are drawn in points around the hotspot like an OS cursor bitmap; their sides are art data, not layout sizes."
count = 2
count = 1
[[exception]]
name = "icon-fixed-layer-tint"
@@ -1,9 +0,0 @@
config_version = 1
[[exception]]
name = "preferences-window-sizes"
kind = "marker"
rule = "literal-size/vec2"
path = "crates/ui-patterns/src/patterns/preferences/window.rs"
reason = "The window opens at and shrinks to sizes of its own, in points."
count = 2