Keep the use-design-tokens rule docs in sync with the properties the rule checks
Categories
(Developer Infrastructure :: Lint and Formatting, task)
Tracking
(firefox162 fixed)
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: dao, Assigned: dao)
References
(Blocks 1 open bug)
Details
Attachments
(2 external files)
The use-design-tokens rule page has hand-written sub-pages for nine properties (e.g. color, box-shadow, space), but the rule checks more than those (e.g. fill, stroke, opacity, border-width), and what each sub-page says, such as its allowed non-token values, can drift from tools/lint/stylelint/stylelint-plugin-mozilla/config.mjs.
Either generate a page for every checked property from config.mjs, or drop the sub-pages and list the checked properties on the rule page.
Raised by hjones in review of https://phabricator.services.mozilla.com/D340422.
| Assignee | ||
Updated•9 days ago
|
| Assignee | ||
Comment 1•8 days ago
|
||
Updated•8 days ago
|
| Assignee | ||
Comment 2•8 days ago
|
||
Comment 5•5 days ago
|
||
Backed out for causing node failures
Backout link: https://hg.mozilla.org/integration/autoland/rev/79cd18836d3654f503583a0ec659503da9586da5
| Assignee | ||
Updated•5 days ago
|
| Assignee | ||
Updated•5 days ago
|
Comment 7•4 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/01249a883eca
https://hg.mozilla.org/mozilla-central/rev/cf421117c7c6
Description
•