Skip to content

Commit 5c42f3c

Browse files
build: update stylelint remove usages of the term blacklist (#20654)
Update the stylelint config file to use declaration-property-value-disallowed-list function-url-scheme-disallowed-list
1 parent 67215f2 commit 5c42f3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.stylelintrc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"function-comma-space-before": "never",
3636
"function-name-case": "lower",
3737
"function-url-quotes": "always",
38-
"function-url-scheme-blacklist": ["data"],
38+
"function-url-scheme-disallowed-list": ["data"],
3939
"function-whitespace-after": "always",
4040

4141
"number-leading-zero": "always",
@@ -67,7 +67,7 @@
6767
"declaration-block-semicolon-newline-before": "never-multi-line",
6868
"declaration-block-semicolon-newline-after": "always-multi-line",
6969
"declaration-colon-space-after": "always-single-line",
70-
"declaration-property-value-blacklist": [
70+
"declaration-property-value-disallowed-list": [
7171
{"/.*/": ["initial"]},
7272
{"message": "The `initial` value is not supported in IE."}
7373
],

0 commit comments

Comments
 (0)