Skip to content

Commit 5410331

Browse files
josephperrottannieyw
authored andcommitted
build: update stylelint usage to use unit-allowed-list (#20617)
Update the stylelint config file to use unit-allowed-list (cherry picked from commit 57e32e9)
1 parent a971cdf commit 5410331

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.stylelintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
"unit-case": "lower",
4949
"unit-no-unknown": true,
50-
"unit-whitelist": ["px", "%", "deg", "s", "ms", "em", "vh", "vw", "vmin"],
50+
"unit-allowed-list": ["px", "%", "deg", "s", "ms", "em", "vh", "vw", "vmin"],
5151

5252
"value-list-comma-space-after": "always-single-line",
5353
"value-list-comma-space-before": "never",

0 commit comments

Comments
 (0)