-
Notifications
You must be signed in to change notification settings - Fork 13
/
.stylelintrc.json
32 lines (32 loc) · 1.06 KB
/
.stylelintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"extends": "stylelint-config-standard",
"plugins": [
"stylelint-declaration-block-no-ignored-properties",
"stylelint-selector-bem-pattern",
"stylelint-selector-no-empty",
"stylelint-declaration-strict-value",
"stylelint-high-performance-animation",
"stylelint-group-selectors",
"stylelint-no-nested-media",
"stylelint-selector-tag-no-without-class"
],
"rules": {
"plugin/declaration-block-no-ignored-properties": true,
"plugin/selector-bem-pattern": {
"componentName": "[A-Z]+",
"componentSelectors": {
"initial": "^\\.{componentName}(?:-[a-z]+)?$",
"combined": "^\\.combined-{componentName}-[a-z]+$"
},
"utilitySelectors": "^\\.util-[a-z]+$"
},
"plugin/stylelint-selector-no-empty": true,
"scale-unlimited/declaration-strict-value": [
["color", "background-color"]
],
"plugin/no-low-performance-animation-properties": true,
"plugin/stylelint-group-selectors": true,
"pitcher/no-nested-media": true,
"plugin/selector-tag-no-without-class": ["div", "span"]
}
}