-
Notifications
You must be signed in to change notification settings - Fork 1
/
.stylelintrc
137 lines (137 loc) · 3.44 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"extends": ["stylelint-config-standard", "stylelint-config-idiomatic-order"],
"formatter": "stylelint-checkstyle-formatter",
"plugins": [
"stylelint-a11y",
"stylelint-order",
"stylelint-color-format",
"stylelint-declaration-block-no-ignored-properties",
"stylelint-no-indistinguishable-colors"
],
"rules": {
"string-quotes": "single",
"selector-class-pattern": null,
"color-format/format": {
"format": "rgb"
},
"a11y/media-prefers-reduced-motion": null,
"a11y/no-outline-none": true,
"a11y/selector-pseudo-class-focus": true,
"order/order": ["custom-properties", "declarations"],
"plugin/declaration-block-no-ignored-properties": true,
"plugin/stylelint-no-indistinguishable-colors": true,
"order/properties-order": [
{
"emptyLineBefore": "always",
"noEmptyLineBetween": true,
"properties": ["content"]
},
{
"emptyLineBefore": "always",
"noEmptyLineBetween": true,
"properties": [
"position",
"z-index",
"top",
"bottom",
"left",
"right",
"flex-direction",
"flex-wrap",
"flex-flow",
"justify-content",
"align-items",
"align-content",
"float",
"clear"
]
},
{
"emptyLineBefore": "always",
"noEmptyLineBetween": true,
"properties": ["display", "opacity", "transform", "filter"]
},
{
"emptyLineBefore": "always",
"noEmptyLineBetween": true,
"properties": ["overflow", "clip"]
},
{
"emptyLineBefore": "always",
"noEmptyLineBetween": true,
"properties": ["animation", "transition"]
},
{
"emptyLineBefore": "always",
"noEmptyLineBetween": true,
"properties": [
"outline",
"outline-offset",
"outline-width",
"outline-color",
"outline-style",
"margin",
"margin-top",
"margin-bottom",
"margin-right",
"margin-left",
"box-shadow",
"border",
"border-top",
"border-bottom",
"border-right",
"border-left",
"border-right-color",
"border-radius",
"box-sizing",
"min-width",
"width",
"max-width",
"min-height",
"height",
"max-height",
"padding",
"padding-top",
"padding-bottom",
"padding-right",
"padding-left"
]
},
{
"emptyLineBefore": "always",
"noEmptyLineBetween": true,
"properties": [
"background",
"background-color",
"background-size",
"cursor",
"user-select",
"pointer-events"
]
},
{
"emptyLineBefore": "always",
"noEmptyLineBetween": true,
"properties": [
"font-size",
"line-height",
"font-family",
"font-weight",
"font-style",
"text-align",
"text-transform",
"text-decoration",
"text-rendering",
"word-spacing",
"color"
]
}
],
"declaration-empty-line-before": [
"always",
{
"ignore": ["after-comment", "after-declaration", "first-nested", "inside-single-line-block"]
}
]
}
}