forked from PROGRAP/sw6-google-customer-reviews
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc.json
71 lines (61 loc) · 1.94 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
{
"extends": [
"stylelint-config-sass-guidelines",
"stylelint-config-concentric-order"
],
"rules": {
"indentation": 4,
"max-nesting-depth": 5,
"order/properties-alphabetical-order": null,
"declaration-property-value-disallowed-list": [
{
"/^(?!\\$)(?!font-size).*$/": ["/^#(?!\\{).*(?!\\})$/", "/^(4|8|16|24|32|40|48|56|64|72|80|88|96)px$/"]
}, {
"message": "please use a variable here!"
}
],
"selector-class-pattern": ".*",
"number-leading-zero": "never",
"order/order": [
{ "type": "at-rule", "name": "import" },
"dollar-variables",
"custom-properties",
{ "type": "at-rule", "name": "extend" },
{ "type": "at-rule", "name": "include", "hasBlock": false },
{ "type": "at-rule", "name": "mixin" },
{ "type": "at-rule", "name": "add-mixin" },
{ "type": "at-rule", "name": "apply" },
"declarations",
{
"type": "rule",
"selector": "/^&::[\\w-]+/",
"hasBlock": true
},
"rules",
{
"type": "at-rule",
"name": "include",
"hasBlock": true
},
{
"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 }
]
}
}