Skip to content

Commit

Permalink
build: allow rem units
Browse files Browse the repository at this point in the history
Updates the Stylelint config to allow `rem`.

(cherry picked from commit c09a0e4)
  • Loading branch information
crisbeto committed Jul 2, 2024
1 parent 1ce0a21 commit 7d77f41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@

"unit-case": "lower",
"unit-no-unknown": true,
"unit-allowed-list": ["px", "%", "deg", "s", "ms", "em", "vh", "vw", "vmin"],
"unit-allowed-list": ["px", "%", "deg", "s", "ms", "em", "rem", "vh", "vw", "vmin"],

"value-list-comma-space-after": "always-single-line",
"value-list-comma-space-before": "never",
Expand Down

0 comments on commit 7d77f41

Please sign in to comment.