Skip to content

Commit c3571a7

Browse files
committed
build: update style lint configuration
1 parent 483f03b commit c3571a7

File tree

1 file changed

+33
-26
lines changed

1 file changed

+33
-26
lines changed

.stylelintrc

Lines changed: 33 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,37 @@
22
"extends": [
33
"stylelint-config-twbs-bootstrap"
44
],
5-
"rules": {
6-
"declaration-property-value-disallowed-list": {
7-
"border": "none",
8-
"outline": "none"
9-
},
10-
"function-disallowed-list": [
11-
"calc",
12-
"lighten",
13-
"darken"
14-
],
15-
"property-disallowed-list": [
16-
"border-radius",
17-
"border-top-left-radius",
18-
"border-top-right-radius",
19-
"border-bottom-right-radius",
20-
"border-bottom-left-radius",
21-
"transition"
22-
],
23-
"scss/dollar-variable-default": [
24-
true,
25-
{
26-
"ignore": "local"
5+
"reportInvalidScopeDisables": true,
6+
"reportNeedlessDisables": true,
7+
"overrides": [
8+
{
9+
"files": "**/*.scss",
10+
"rules": {
11+
"declaration-property-value-disallowed-list": {
12+
"border": "none",
13+
"outline": "none"
14+
},
15+
"function-disallowed-list": [
16+
"calc",
17+
"lighten",
18+
"darken"
19+
],
20+
"property-disallowed-list": [
21+
"border-radius",
22+
"border-top-left-radius",
23+
"border-top-right-radius",
24+
"border-bottom-right-radius",
25+
"border-bottom-left-radius",
26+
"transition"
27+
],
28+
"scss/dollar-variable-default": [
29+
true,
30+
{
31+
"ignore": "local"
32+
}
33+
],
34+
"scss/selector-no-union-class-name": true
2735
}
28-
],
29-
"scss/selector-no-union-class-name": true
30-
}
31-
}
36+
}
37+
]
38+
}

0 commit comments

Comments
 (0)