Skip to content

Commit fe0bfe7

Browse files
crisbetokara
authored andcommitted
build: disallow uses of the "initial" value (#4204)
1 parent d1128fe commit fe0bfe7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

stylelint-config.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@
4141
"declaration-block-semicolon-space-after": "always-single-line",
4242
"declaration-block-semicolon-newline-before": "never-multi-line",
4343
"declaration-block-semicolon-newline-after": "always-multi-line",
44+
"declaration-property-value-blacklist": [
45+
{ "/.*/": ["initial"] },
46+
{ "message": "The `initial` value is not supported in IE."}
47+
],
4448

4549
"block-closing-brace-newline-after": "always",
4650
"block-closing-brace-newline-before": "always-multi-line",

0 commit comments

Comments
 (0)