-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc
69 lines (69 loc) · 1.96 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
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
{
extends: [
"stylelint-config-standard",
"stylelint-config-rational-order"
],
plugins: [
"stylelint-scss",
"stylelint-order",
"stylelint-config-rational-order/plugin"
],
rules: {
"no-empty-source": null,
"indentation": 4,
"string-quotes": "single",
"rule-empty-line-before": [
"always",
{
except: [
"first-nested",
"after-single-line-comment"
],
ignore: [
]
}
],
"declaration-colon-space-before": "never",
"declaration-colon-space-after": "always",
"declaration-block-no-duplicate-properties": true,
"media-feature-colon-space-before": "never",
"media-feature-range-operator-space-before": "never",
"media-feature-range-operator-space-after": "never",
"number-leading-zero": "never",
"order/order": [
"declarations",
{
"type": "at-rule",
"name": "media"
},
{
"type": "rule",
"selector": "^&::(before|after)"
},
{
"type": "rule",
"selector": "^&:\\w"
},
{
"type": "rule",
"selector": "^&(_|--)"
},
{
"type": "rule",
"selector": "^&__"
},
{
"type": "rule",
"selector": "^."
}
],
"order/properties-order": [],
"plugin/rational-order": [true, {
"border-in-box-model": false,
"empty-line-between-groups": false,
}],
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true,
"block-no-empty": null
}
}