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