-
Notifications
You must be signed in to change notification settings - Fork 37
/
.stylelintrc
39 lines (39 loc) · 1.03 KB
/
.stylelintrc
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
33
34
35
36
37
38
39
{
"plugins": [
"stylelint-selector-bem-pattern",
"stylelint-scss",
"@namics/stylelint-bem"
],
"extends": [
"stylelint-config-recommended-scss",
"stylelint-config-shopify",
"stylelint-prettier/recommended",
"stylelint-config-prettier"
],
"rules": {
"color-no-hex": null,
"indentation": 2,
"max-nesting-depth": 2,
"max-empty-lines": 1,
"declaration-no-important": true,
"selector-class-pattern": null,
"selector-no-qualifying-type": null,
"selector-max-type": null,
"no-empty-source": null,
"no-empty-first-line": true,
"scss/selector-no-redundant-nesting-selector": true,
"plugin/stylelint-bem-namics": {
"patternPrefixes": [],
"helperPrefixes": []
},
"plugin/selector-bem-pattern": {
"preset": "bem",
"componentName": "[A-Z]+",
"componentSelectors": {
"initial": "^\\.{componentName}(?:-[a-z]+)?$",
"combined": "^\\.combined-{componentName}-[a-z]+$"
},
"utilitySelectors": "^\\.util-[a-z]+$"
}
}
}