Closed
Bug 1988864
Opened 3 months ago
Closed 2 months ago
Add a Stylelint rule to enforce using box-shadow tokens
Categories
(Developer Infrastructure :: Lint and Formatting, task)
Developer Infrastructure
Lint and Formatting
Tracking
(firefox146 fixed)
RESOLVED
FIXED
146 Branch
| Tracking | Status | |
|---|---|---|
| firefox146 | --- | fixed |
People
(Reporter: hjones, Assigned: jooliver)
References
(Blocks 3 open bugs)
Details
(Whiteboard: [recomp][acorntractors])
Attachments
(1 file)
We should add a Stylelint rule to enforce only using --box-shadow-* tokens for any box-shadow properties in CSS and SCSS files. These values are complex and won't be 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•3 months ago
|
| Assignee | ||
Updated•3 months ago
|
Assignee: nobody → jooliver
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•3 months ago
|
||
- Add use-box-shadow-tokens stylelint rule
- Add tests for use-box-shadow-tokens rule
- Add docs for use-box-shadow-tokens rule
- Update stylelint rollouts with exclusions for use-box-shadow-tokens rule
Pushed by jooliver@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/9ac0c56f0e8c
https://hg.mozilla.org/integration/autoland/rev/d8b54c0354cb
add box-shadow stylelint rule r=frontend-codestyle-reviewers,hjones
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
status-firefox146:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•