Skip to content

Commit e4054ae

Browse files
committed
disable scss/percent-placeholder-pattern stylelint rule
1 parent 7ff7196 commit e4054ae

File tree

1 file changed

+66
-41
lines changed

1 file changed

+66
-41
lines changed

config/stylelint/.stylelintrc

Lines changed: 66 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,69 @@
11
{
2-
"extends": [
3-
"stylelint-config-standard"
4-
],
5-
"overrides": [
6-
{
7-
"files": ["*.less", "**/*.less"],
8-
"customSyntax": "postcss-less",
9-
"rules": {
10-
"function-no-unknown": [true, {"ignoreFunctions": ["extend"]}]
11-
}
12-
},
13-
{
14-
"files": ["*.scss", "**/*.scss"],
15-
"customSyntax": "postcss-scss",
16-
"extends": ["stylelint-config-standard-scss"]
17-
},
18-
{
19-
"files": ["*.sass", "**/*.sass"],
20-
"customSyntax": "postcss-sass",
21-
"extends": ["stylelint-config-standard-scss"]
22-
}
23-
],
24-
"plugins": ["stylelint-scss"],
25-
"ignoreFiles": ["Resources/*/dist/**/**/**"],
26-
"rules": {
27-
"at-rule-no-unknown": null,
28-
"block-no-empty": true,
29-
"no-descending-specificity": null,
30-
"declaration-empty-line-before": null,
31-
"max-nesting-depth": 5,
32-
"selector-type-no-unknown": [
33-
true,
34-
{
35-
"ignore": [
36-
"custom-elements"
37-
]
38-
}
2+
"extends": [
3+
"stylelint-config-standard"
4+
],
5+
"overrides": [
6+
{
7+
"files": [
8+
"*.less",
9+
"**/*.less"
10+
],
11+
"customSyntax": "postcss-less",
12+
"rules": {
13+
"function-no-unknown": [
14+
true,
15+
{
16+
"ignoreFunctions": [
17+
"extend"
18+
]
19+
}
20+
]
21+
}
22+
},
23+
{
24+
"files": [
25+
"*.scss",
26+
"**/*.scss"
27+
],
28+
"customSyntax": "postcss-scss",
29+
"extends": [
30+
"stylelint-config-standard-scss"
31+
]
32+
},
33+
{
34+
"files": [
35+
"*.sass",
36+
"**/*.sass"
37+
],
38+
"customSyntax": "postcss-sass",
39+
"extends": [
40+
"stylelint-config-standard-scss"
41+
]
42+
}
43+
],
44+
"plugins": [
45+
"stylelint-scss"
3946
],
40-
"scss/double-slash-comment-empty-line-before": "always",
41-
"scss/map-keys-quotes": "always",
42-
"function-url-quotes": null
43-
}
47+
"ignoreFiles": [
48+
"Resources/*/dist/**/**/**"
49+
],
50+
"rules": {
51+
"at-rule-no-unknown": null,
52+
"block-no-empty": true,
53+
"no-descending-specificity": null,
54+
"declaration-empty-line-before": null,
55+
"max-nesting-depth": 5,
56+
"selector-type-no-unknown": [
57+
true,
58+
{
59+
"ignore": [
60+
"custom-elements"
61+
]
62+
}
63+
],
64+
"scss/double-slash-comment-empty-line-before": "always",
65+
"scss/map-keys-quotes": "always",
66+
"scss/percent-placeholder-pattern": null,
67+
"function-url-quotes": null
68+
}
4469
}

0 commit comments

Comments
 (0)