Add a Stylelint rule to enforce using size tokens
Categories
(Developer Infrastructure :: Lint and Formatting, task)
Tracking
(firefox146 fixed)
| Tracking | Status | |
|---|---|---|
| firefox146 | --- | fixed |
People
(Reporter: hjones, Assigned: oarnesto)
References
(Blocks 1 open bug)
Details
(Whiteboard: [recomp][acorntractors])
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
Details |
We should add a Stylelint rule to enforce only using --size-* tokens for any height, width, min-height, min-width, and maybe even background-size (?) properties in CSS and SCSS files. This rule is likely autofixable. This work will include documentation, tests, and adding an entry to our rollouts file, but will not include expanding our token offerings or fixing any existing errors.
Updated•8 months ago
|
Comment 4•6 months ago
|
||
Backed out for causing stylelint failures.
Backout link: https://hg-edge.mozilla.org/integration/autoland/rev/9a6257287823a92435bb91a4b4398c5f8078ede7
Push with failures: https://treeherder.mozilla.org/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel&revision=e9a25ec36cac93d3378826468f81b4255ed810b1
Failure log: https://treeherder.mozilla.org/logviewer?job_id=534212588&repo=autoland&task=OlmGeHUUSMewdRMaP8JW4Q.0&lineNumber=363
Comment 6•6 months ago
|
||
| bugherder | ||
Updated•6 months ago
|
Description
•