-
Notifications
You must be signed in to change notification settings - Fork 3
/
.stylelintrc.json
74 lines (74 loc) · 1.52 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"plugins": ["stylelint-scss", "stylelint-order"],
"extends": ["stylelint-config-standard-scss", "stylelint-config-concentric-order"],
"rules": {
"max-nesting-depth": 3,
"selector-class-pattern": "^-?([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
"no-descending-specificity": null,
"selector-no-qualifying-type": [
true,
{
"ignore": ["class"]
}
],
"order/order": [
{
"type": "at-rule",
"name": "import"
},
"dollar-variables",
"custom-properties",
{
"type": "at-rule",
"name": "extend"
},
{
"type": "at-rule",
"name": "mixin"
},
{
"type": "at-rule",
"name": "add-mixin"
},
{
"type": "at-rule",
"name": "apply"
},
"declarations",
{
"type": "rule",
"selector": "/^&:[\\w-]+/",
"hasBlock": true
},
{
"type": "rule",
"selector": "/^&:[\\w-]+/",
"hasBlock": true
},
"rules",
{
"type": "at-rule",
"name": "include",
"parameter": "/breakpoints?/i",
"hasBlock": true
},
{
"type": "at-rule",
"name": "mixin",
"parameter": "/breakpoints?/i",
"hasBlock": true
},
{
"type": "at-rule",
"name": "add-mixin",
"parameter": "/breakpoints?/i",
"hasBlock": true
},
{
"type": "at-rule",
"name": "media",
"hasBlock": true
}
]
}
}