-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy path.stylelintrc
73 lines (73 loc) · 1.8 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
70
71
72
73
{
"plugins": [
"stylelint-order"
],
"rules": {
"indentation": 2,
"declaration-colon-space-after": "always",
"declaration-colon-space-before": "never",
"block-opening-brace-space-before": "always",
"declaration-block-single-line-max-declarations": 1,
"max-nesting-depth": 4,
"selector-max-compound-selectors": 3,
"selector-no-qualifying-type": true,
"no-duplicate-selectors": true,
"block-no-empty": true,
"at-rule-empty-line-before": [
"always",
{
"except": [
"after-same-name",
"first-nested"
]
}
],
"at-rule-name-case": "lower",
"color-hex-case": "upper",
"color-hex-length": "long",
"color-no-invalid-hex": true,
"string-quotes": "single",
"value-list-comma-space-after": "always-single-line",
"comment-whitespace-inside": "always",
"length-zero-no-unit": true,
"number-no-trailing-zeros": true,
"declaration-block-trailing-semicolon": "always",
"declaration-block-no-duplicate-properties": true,
"declaration-block-semicolon-newline-after": "always-multi-line",
"block-closing-brace-empty-line-before": "never",
"block-closing-brace-newline-before": "always",
"order/order": [
"custom-properties",
"dollar-variables",
"declarations",
"at-rules"
],
"order/properties-order": [
"display",
"list-style",
"position",
"top",
"left",
"bottom",
"right",
"float",
"clear",
"width",
"height",
"padding",
"margin",
"flex-direction",
"justify-content",
"align-items",
"border",
"background",
"color",
"font",
"text-decoration",
"text-align",
"vertical-align",
"white-space",
"content"
]
}
}