diff options
Diffstat (limited to '.stylelintrc.json')
-rw-r--r-- | .stylelintrc.json | 333 |
1 files changed, 5 insertions, 328 deletions
diff --git a/.stylelintrc.json b/.stylelintrc.json index 09d474e..478ae4e 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "extends": "stylelint-config-sass-guidelines", | 2 | "extends": [ |
3 | "plugins": [ | 3 | "stylelint-config-sass-guidelines", |
4 | "stylelint-order" | 4 | "stylelint-config-recess-order" |
5 | ], | 5 | ], |
6 | "rules": { | 6 | "rules": { |
7 | "@stylistic/indentation": 4, | 7 | "@stylistic/indentation": 4, |
@@ -14,329 +14,6 @@ | |||
14 | "resolveNestedSelectors": true | 14 | "resolveNestedSelectors": true |
15 | } | 15 | } |
16 | ], | 16 | ], |
17 | "scss/dollar-variable-colon-space-after": null, | 17 | "scss/dollar-variable-colon-space-after": null |
18 | "order/properties-alphabetical-order": null, | 18 | } |
19 | "order/order": null, | ||
20 | "order/properties-order": [ | ||
21 | { | ||
22 | "properties": [ | ||
23 | "content", | ||
24 | "quotes" | ||
25 | ] | ||
26 | }, | ||
27 | { | ||
28 | "properties": [ | ||
29 | "display", | ||
30 | "visibility" | ||
31 | ] | ||
32 | }, | ||
33 | { | ||
34 | "properties": [ | ||
35 | "position", | ||
36 | "z-index", | ||
37 | "top", | ||
38 | "right", | ||
39 | "bottom", | ||
40 | "left" | ||
41 | ] | ||
42 | }, | ||
43 | { | ||
44 | "properties": [ | ||
45 | "box-sizing" | ||
46 | ] | ||
47 | }, | ||
48 | { | ||
49 | "properties": [ | ||
50 | "flex", | ||
51 | "flex-basis", | ||
52 | "flex-direction", | ||
53 | "flex-flow", | ||
54 | "flex-grow", | ||
55 | "flex-shrink", | ||
56 | "flex-wrap", | ||
57 | "align-content", | ||
58 | "align-items", | ||
59 | "align-self", | ||
60 | "justify-content", | ||
61 | "order" | ||
62 | ] | ||
63 | }, | ||
64 | { | ||
65 | "properties": [ | ||
66 | "width", | ||
67 | "min-width", | ||
68 | "max-width", | ||
69 | "height", | ||
70 | "min-height", | ||
71 | "max-height" | ||
72 | ] | ||
73 | }, | ||
74 | { | ||
75 | "properties": [ | ||
76 | "margin", | ||
77 | "margin-top", | ||
78 | "margin-right", | ||
79 | "margin-bottom", | ||
80 | "margin-left" | ||
81 | ] | ||
82 | }, | ||
83 | { | ||
84 | "properties": [ | ||
85 | "padding", | ||
86 | "padding-top", | ||
87 | "padding-right", | ||
88 | "padding-bottom", | ||
89 | "padding-left" | ||
90 | ] | ||
91 | }, | ||
92 | { | ||
93 | "properties": [ | ||
94 | "float", | ||
95 | "clear" | ||
96 | ] | ||
97 | }, | ||
98 | { | ||
99 | "properties": [ | ||
100 | "overflow", | ||
101 | "overflow-x", | ||
102 | "overflow-y" | ||
103 | ] | ||
104 | }, | ||
105 | { | ||
106 | "properties": [ | ||
107 | "clip", | ||
108 | "zoom" | ||
109 | ] | ||
110 | }, | ||
111 | { | ||
112 | "properties": [ | ||
113 | "columns", | ||
114 | "column-gap", | ||
115 | "column-fill", | ||
116 | "column-rule", | ||
117 | "column-span", | ||
118 | "column-count", | ||
119 | "column-width" | ||
120 | ] | ||
121 | }, | ||
122 | { | ||
123 | "properties": [ | ||
124 | "table-layout", | ||
125 | "empty-cells", | ||
126 | "caption-side", | ||
127 | "border-spacing", | ||
128 | "border-collapse", | ||
129 | "list-style", | ||
130 | "list-style-position", | ||
131 | "list-style-type", | ||
132 | "list-style-image" | ||
133 | ] | ||
134 | }, | ||
135 | { | ||
136 | "properties": [ | ||
137 | "transform", | ||
138 | "transform-origin", | ||
139 | "transform-style", | ||
140 | "backface-visibility", | ||
141 | "perspective", | ||
142 | "perspective-origin" | ||
143 | ] | ||
144 | }, | ||
145 | { | ||
146 | "properties": [ | ||
147 | "transition", | ||
148 | "transition-property", | ||
149 | "transition-duration", | ||
150 | "transition-timing-function", | ||
151 | "transition-delay" | ||
152 | ] | ||
153 | }, | ||
154 | { | ||
155 | "properties": [ | ||
156 | "animation", | ||
157 | "animation-name", | ||
158 | "animation-duration", | ||
159 | "animation-play-state", | ||
160 | "animation-timing-function", | ||
161 | "animation-delay", | ||
162 | "animation-iteration-count", | ||
163 | "animation-direction" | ||
164 | ] | ||
165 | }, | ||
166 | { | ||
167 | "properties": [ | ||
168 | "border", | ||
169 | "border-top", | ||
170 | "border-right", | ||
171 | "border-bottom", | ||
172 | "border-left", | ||
173 | "border-width", | ||
174 | "border-top-width", | ||
175 | "border-right-width", | ||
176 | "border-bottom-width", | ||
177 | "border-left-width" | ||
178 | ] | ||
179 | }, | ||
180 | { | ||
181 | "properties": [ | ||
182 | "border-style", | ||
183 | "border-top-style", | ||
184 | "border-right-style", | ||
185 | "border-bottom-style", | ||
186 | "border-left-style" | ||
187 | ] | ||
188 | }, | ||
189 | { | ||
190 | "properties": [ | ||
191 | "border-radius", | ||
192 | "border-top-left-radius", | ||
193 | "border-top-right-radius", | ||
194 | "border-bottom-left-radius", | ||
195 | "border-bottom-right-radius" | ||
196 | ] | ||
197 | }, | ||
198 | { | ||
199 | "properties": [ | ||
200 | "border-color", | ||
201 | "border-top-color", | ||
202 | "border-right-color", | ||
203 | "border-bottom-color", | ||
204 | "border-left-color" | ||
205 | ] | ||
206 | }, | ||
207 | { | ||
208 | "properties": [ | ||
209 | "outline", | ||
210 | "outline-color", | ||
211 | "outline-offset", | ||
212 | "outline-style", | ||
213 | "outline-width" | ||
214 | ] | ||
215 | }, | ||
216 | { | ||
217 | "properties": [ | ||
218 | "stroke-width", | ||
219 | "stroke-linecap", | ||
220 | "stroke-dasharray", | ||
221 | "stroke-dashoffset", | ||
222 | "stroke" | ||
223 | ] | ||
224 | }, | ||
225 | { | ||
226 | "properties": [ | ||
227 | "opacity" | ||
228 | ] | ||
229 | }, | ||
230 | { | ||
231 | "properties": [ | ||
232 | "background", | ||
233 | "background-color", | ||
234 | "background-image", | ||
235 | "background-repeat", | ||
236 | "background-position", | ||
237 | "background-size", | ||
238 | "box-shadow", | ||
239 | "fill" | ||
240 | ] | ||
241 | }, | ||
242 | { | ||
243 | "properties": [ | ||
244 | "color" | ||
245 | ] | ||
246 | }, | ||
247 | { | ||
248 | "properties": [ | ||
249 | "font", | ||
250 | "font-family", | ||
251 | "font-size", | ||
252 | "font-size-adjust", | ||
253 | "font-stretch", | ||
254 | "font-effect", | ||
255 | "font-style", | ||
256 | "font-variant", | ||
257 | "font-weight" | ||
258 | ] | ||
259 | }, | ||
260 | { | ||
261 | "properties": [ | ||
262 | "font-emphasize", | ||
263 | "font-emphasize-position", | ||
264 | "font-emphasize-style" | ||
265 | ] | ||
266 | }, | ||
267 | { | ||
268 | "properties": [ | ||
269 | "letter-spacing", | ||
270 | "line-height", | ||
271 | "list-style", | ||
272 | "word-spacing" | ||
273 | ] | ||
274 | }, | ||
275 | { | ||
276 | "properties": [ | ||
277 | "text-align", | ||
278 | "text-align-last", | ||
279 | "text-decoration", | ||
280 | "text-indent", | ||
281 | "text-justify", | ||
282 | "text-overflow", | ||
283 | "text-overflow-ellipsis", | ||
284 | "text-overflow-mode", | ||
285 | "text-rendering", | ||
286 | "text-outline", | ||
287 | "text-shadow", | ||
288 | "text-transform", | ||
289 | "text-wrap", | ||
290 | "word-wrap", | ||
291 | "word-break" | ||
292 | ] | ||
293 | }, | ||
294 | { | ||
295 | "properties": [ | ||
296 | "text-emphasis", | ||
297 | "text-emphasis-color", | ||
298 | "text-emphasis-style", | ||
299 | "text-emphasis-position" | ||
300 | ] | ||
301 | }, | ||
302 | { | ||
303 | "properties": [ | ||
304 | "vertical-align", | ||
305 | "white-space", | ||
306 | "word-spacing", | ||
307 | "hyphens" | ||
308 | ] | ||
309 | }, | ||
310 | { | ||
311 | "properties": [ | ||
312 | "src" | ||
313 | ] | ||
314 | }, | ||
315 | { | ||
316 | "properties": [ | ||
317 | "tab-size", | ||
318 | "counter-reset", | ||
319 | "counter-increment", | ||
320 | "resize", | ||
321 | "cursor", | ||
322 | "pointer-events", | ||
323 | "speak", | ||
324 | "user-select", | ||
325 | "nav-index", | ||
326 | "nav-up", | ||
327 | "nav-right", | ||
328 | "nav-down", | ||
329 | "nav-left" | ||
330 | ] | ||
331 | } | ||
332 | ] | ||
333 | }, | ||
334 | "overrides": [ | ||
335 | { | ||
336 | "files": [ | ||
337 | "**/*.scss" | ||
338 | ], | ||
339 | "customSyntax": "postcss-scss" | ||
340 | } | ||
341 | ] | ||
342 | } | 19 | } |