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)

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.

Blocks: 1988874
Assignee: nobody → jooliver
Status: NEW → ASSIGNED
Blocks: 1993565
  • 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
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: