summaryrefslogtreecommitdiffstats
path: root/.stylelintrc.json
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-06-21 23:07:50 +0200
committerVolpeon <git@volpeon.ink>2024-06-21 23:07:50 +0200
commit48cb00040763459fc46d4aa108bf72c12f48f422 (patch)
tree9609470d56bb31d55697ef0c42f1c908804dd3f1 /.stylelintrc.json
parentUpdate (diff)
downloadiro-design-48cb00040763459fc46d4aa108bf72c12f48f422.tar.gz
iro-design-48cb00040763459fc46d4aa108bf72c12f48f422.tar.bz2
iro-design-48cb00040763459fc46d4aa108bf72c12f48f422.zip
WIP: Refactoring
Diffstat (limited to '.stylelintrc.json')
-rw-r--r--.stylelintrc.json368
1 files changed, 321 insertions, 47 deletions
diff --git a/.stylelintrc.json b/.stylelintrc.json
index 79482ee..0ed9389 100644
--- a/.stylelintrc.json
+++ b/.stylelintrc.json
@@ -1,64 +1,338 @@
1{ 1{
2 "extends": "stylelint-config-sass-guidelines", 2 "extends": "stylelint-config-sass-guidelines",
3 "plugins": [
4 "stylelint-order"
5 ],
3 "rules": { 6 "rules": {
4 "indentation": 4, 7 "max-nesting-depth": 4,
5 "number-leading-zero": "never",
6 "max-nesting-depth": 8,
7 "selector-class-pattern": [ 8 "selector-class-pattern": [
8 "^[closut](-[a-z0-9]+)+(__[a-z0-9]+(-[a-z0-9]+)*)*(--[a-z0-9]+(-[a-z0-9]+)*)*(\\@[a-z0-9]+(-[a-z0-9]+)*)?$", 9 "^[closut](-[a-z0-9]+)+(__[a-z0-9]+(-[a-z0-9]+)*)*(--[a-z0-9]+(-[a-z0-9]+)*)*(\\@[a-z0-9]+(-[a-z0-9]+)*)?$",
9 { "resolveNestedSelectors": true } 10 {
11 "resolveNestedSelectors": true
12 }
10 ], 13 ],
11 "declaration-colon-space-after": null,
12 "function-parentheses-newline-inside": "always-multi-line",
13 "function-parentheses-space-inside": "never-single-line",
14 "scss/dollar-variable-colon-space-after": null, 14 "scss/dollar-variable-colon-space-after": null,
15 "order/properties-alphabetical-order": null, 15 "order/properties-alphabetical-order": null,
16 "order/order": null, 16 "order/order": null,
17 "order/properties-order": [ 17 "order/properties-order": [
18 { "properties": [ "content", "quotes" ] }, 18 {
19 19 "properties": [
20 { "properties": [ "display", "visibility" ] }, 20 "content",
21 { "properties": [ "position", "z-index", "top", "right", "bottom", "left" ] }, 21 "quotes"
22 { "properties": [ "box-sizing" ] }, 22 ]
23 { "properties": [ "flex", "flex-basis", "flex-direction", "flex-flow", "flex-grow", "flex-shrink", "flex-wrap", "align-content", "align-items", "align-self", "justify-content", "order" ] }, 23 },
24 { "properties": [ "width", "min-width", "max-width", "height", "min-height", "max-height" ] }, 24 {
25 { "properties": [ "margin", "margin-top", "margin-right", "margin-bottom", "margin-left" ] }, 25 "properties": [
26 { "properties": [ "padding", "padding-top", "padding-right", "padding-bottom", "padding-left" ] }, 26 "display",
27 { "properties": [ "float", "clear" ] }, 27 "visibility"
28 { "properties": [ "overflow", "overflow-x", "overflow-y" ] }, 28 ]
29 { "properties": [ "clip", "zoom" ] }, 29 },
30 { "properties": [ "columns", "column-gap", "column-fill", "column-rule", "column-span", "column-count", "column-width" ] }, 30 {
31 { "properties": [ "table-layout", "empty-cells", "caption-side", "border-spacing", "border-collapse", "list-style", "list-style-position", "list-style-type", "list-style-image" ] }, 31 "properties": [
32 32 "position",
33 { "properties": [ "transform", "transform-origin", "transform-style", "backface-visibility", "perspective", "perspective-origin" ] }, 33 "z-index",
34 { "properties": [ "transition", "transition-property", "transition-duration", "transition-timing-function", "transition-delay" ] }, 34 "top",
35 { "properties": [ "animation", "animation-name", "animation-duration", "animation-play-state", "animation-timing-function", "animation-delay", "animation-iteration-count", "animation-direction" ] }, 35 "right",
36 36 "bottom",
37 { "properties": [ "border", "border-top", "border-right", "border-bottom", "border-left", "border-width", "border-top-width", "border-right-width", "border-bottom-width", "border-left-width" ] }, 37 "left"
38 { "properties": [ "border-style", "border-top-style", "border-right-style", "border-bottom-style", "border-left-style" ] }, 38 ]
39 { "properties": [ "border-radius", "border-top-left-radius", "border-top-right-radius", "border-bottom-left-radius", "border-bottom-right-radius" ] }, 39 },
40 { "properties": [ "border-color", "border-top-color", "border-right-color", "border-bottom-color", "border-left-color" ] }, 40 {
41 { "properties": [ "outline", "outline-color", "outline-offset", "outline-style", "outline-width" ] }, 41 "properties": [
42 { "properties": [ "stroke-width", "stroke-linecap", "stroke-dasharray", "stroke-dashoffset", "stroke" ] }, 42 "box-sizing"
43 43 ]
44 { "properties": [ "opacity" ] }, 44 },
45 { "properties": [ "background", "background-color", "background-image", "background-repeat", "background-position", "background-size", "box-shadow", "fill" ] }, 45 {
46 46 "properties": [
47 { "properties": [ "color" ] }, 47 "flex",
48 { "properties": [ "font", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-effect", "font-style", "font-variant", "font-weight" ] }, 48 "flex-basis",
49 { "properties": [ "font-emphasize", "font-emphasize-position", "font-emphasize-style" ] }, 49 "flex-direction",
50 { "properties": [ "letter-spacing", "line-height", "list-style", "word-spacing" ] }, 50 "flex-flow",
51 { "properties": [ "text-align", "text-align-last", "text-decoration", "text-indent", "text-justify", "text-overflow", "text-overflow-ellipsis", "text-overflow-mode", "text-rendering", "text-outline", "text-shadow", "text-transform", "text-wrap", "word-wrap", "word-break" ] }, 51 "flex-grow",
52 { "properties": [ "text-emphasis", "text-emphasis-color", "text-emphasis-style", "text-emphasis-position" ] }, 52 "flex-shrink",
53 { "properties": [ "vertical-align", "white-space", "word-spacing", "hyphens" ] }, 53 "flex-wrap",
54 { "properties": [ "src" ] }, 54 "align-content",
55 55 "align-items",
56 { "properties": [ "tab-size", "counter-reset", "counter-increment", "resize", "cursor", "pointer-events", "speak", "user-select", "nav-index", "nav-up", "nav-right", "nav-down", "nav-left" ] } 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 }
57 ] 329 ]
58 }, 330 },
59 "overrides": [ 331 "overrides": [
60 { 332 {
61 "files": ["src/**/*.scss"], 333 "files": [
334 "**/*.scss"
335 ],
62 "customSyntax": "postcss-scss" 336 "customSyntax": "postcss-scss"
63 } 337 }
64 ] 338 ]