@flarian/frontend-preset 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +155 -1
- package/dist/eslint/config/all.cjs +10 -1
- package/dist/eslint/config/all.d.cts +6 -1
- package/dist/eslint/config/all.d.mts +6 -1
- package/dist/eslint/config/all.d.ts +6 -1
- package/dist/eslint/config/all.mjs +15 -6
- package/dist/eslint/config/base.cjs +2 -2
- package/dist/eslint/config/base.d.cts +2 -2
- package/dist/eslint/config/base.d.mts +2 -2
- package/dist/eslint/config/base.d.ts +2 -2
- package/dist/eslint/config/base.mjs +2 -2
- package/dist/eslint/config/imports.cjs +2 -2
- package/dist/eslint/config/imports.d.cts +2 -2
- package/dist/eslint/config/imports.d.mts +2 -2
- package/dist/eslint/config/imports.d.ts +2 -2
- package/dist/eslint/config/imports.mjs +2 -2
- package/dist/eslint/config/json.cjs +2 -2
- package/dist/eslint/config/json.d.cts +2 -2
- package/dist/eslint/config/json.d.mts +2 -2
- package/dist/eslint/config/json.d.ts +2 -2
- package/dist/eslint/config/json.mjs +2 -2
- package/dist/eslint/config/jsx.cjs +2 -2
- package/dist/eslint/config/jsx.d.cts +2 -2
- package/dist/eslint/config/jsx.d.mts +2 -2
- package/dist/eslint/config/jsx.d.ts +2 -2
- package/dist/eslint/config/jsx.mjs +2 -2
- package/dist/eslint/config/prettier.cjs +22 -0
- package/dist/eslint/config/prettier.d.cts +5 -0
- package/dist/eslint/config/prettier.d.mts +5 -0
- package/dist/eslint/config/prettier.d.ts +5 -0
- package/dist/eslint/config/prettier.mjs +15 -0
- package/dist/eslint/config/react.cjs +54 -0
- package/dist/eslint/config/react.d.cts +5 -0
- package/dist/eslint/config/react.d.mts +5 -0
- package/dist/eslint/config/react.d.ts +5 -0
- package/dist/eslint/config/react.mjs +47 -0
- package/dist/eslint/config/vue.cjs +2 -16
- package/dist/eslint/config/vue.d.cts +2 -2
- package/dist/eslint/config/vue.d.mts +2 -2
- package/dist/eslint/config/vue.d.ts +2 -2
- package/dist/eslint/config/vue.mjs +2 -14
- package/dist/eslint/index.cjs +7 -0
- package/dist/eslint/index.d.cts +2 -0
- package/dist/eslint/index.d.mts +2 -0
- package/dist/eslint/index.d.ts +2 -0
- package/dist/eslint/index.mjs +5 -0
- package/dist/index.cjs +12 -4
- package/dist/index.d.cts +7 -2
- package/dist/index.d.mts +7 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.mjs +12 -4
- package/dist/shared/frontend-preset.0jMq7xRp.d.cts +13 -0
- package/dist/shared/frontend-preset.BOIuEWn5.d.cts +23 -0
- package/dist/shared/{frontend-preset.6R8Uetz9.cjs → frontend-preset.BPbLrmoT.cjs} +4 -0
- package/dist/shared/frontend-preset.BhlqScTP.cjs +545 -0
- package/dist/shared/frontend-preset.CtWMCAnj.d.ts +23 -0
- package/dist/shared/frontend-preset.DFe94ri5.mjs +12 -0
- package/dist/shared/frontend-preset.DrUk0z26.mjs +22 -0
- package/dist/shared/frontend-preset.DwWnly25.cjs +14 -0
- package/dist/shared/frontend-preset.LUquEVxB.d.ts +13 -0
- package/dist/shared/frontend-preset.UJ8T0exL.mjs +541 -0
- package/dist/shared/frontend-preset.XIsgQ85Y.d.mts +23 -0
- package/dist/shared/frontend-preset.bJz2J5gD.d.mts +13 -0
- package/dist/stylelint/config/all.cjs +9 -0
- package/dist/stylelint/config/all.d.cts +94 -0
- package/dist/stylelint/config/all.d.mts +94 -0
- package/dist/stylelint/config/all.d.ts +94 -0
- package/dist/stylelint/config/all.mjs +7 -0
- package/dist/stylelint/config/less.cjs +15 -0
- package/dist/stylelint/config/less.d.cts +47 -0
- package/dist/stylelint/config/less.d.mts +47 -0
- package/dist/stylelint/config/less.d.ts +47 -0
- package/dist/stylelint/config/less.mjs +13 -0
- package/dist/stylelint/config/scss.cjs +15 -0
- package/dist/stylelint/config/scss.d.cts +47 -0
- package/dist/stylelint/config/scss.d.mts +47 -0
- package/dist/stylelint/config/scss.d.ts +47 -0
- package/dist/stylelint/config/scss.mjs +13 -0
- package/dist/stylelint/index.cjs +7 -2
- package/dist/stylelint/index.d.cts +3 -2
- package/dist/stylelint/index.d.mts +3 -1
- package/dist/stylelint/index.d.ts +3 -2
- package/dist/stylelint/index.mjs +4 -1
- package/package.json +31 -38
- package/dist/shared/frontend-preset.94Nv3dry.d.mts +0 -19
- package/dist/shared/frontend-preset.BHJqNuKK.mjs +0 -10
- package/dist/shared/frontend-preset.BRKQrSpw.cjs +0 -13
- package/dist/shared/frontend-preset.BpKna_XX.d.ts +0 -19
- package/dist/shared/frontend-preset.CHBOSLHa.d.cts +0 -11
- package/dist/shared/frontend-preset.CHBOSLHa.d.mts +0 -11
- package/dist/shared/frontend-preset.CHBOSLHa.d.ts +0 -11
- package/dist/shared/frontend-preset.DUPjVIaV.d.cts +0 -19
- package/dist/shared/frontend-preset.DebS_mJq.mjs +0 -18
|
@@ -0,0 +1,545 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const MAX_DECLARATION_PER_LINE = 5;
|
|
4
|
+
const baseRules = {
|
|
5
|
+
"no-empty-source": [true, { message: "\u0417\u0430\u043F\u0440\u0435\u0449\u0435\u043D\u044B \u043F\u0443\u0441\u0442\u044B\u0435 \u0444\u0430\u0439\u043B\u044B" }],
|
|
6
|
+
"string-no-newline": [true, { message: "\u041D\u0435\u043B\u044C\u0437\u044F \u043F\u0435\u0440\u0435\u043D\u043E\u0441\u0438\u0442\u044C \u0441\u0442\u0440\u043E\u043A\u0438 \u0432 \u0441\u0442\u0440\u043E\u043A\u043E\u0432\u044B\u0445 \u043B\u0438\u0442\u0435\u0440\u0430\u043B\u0430\u0445" }],
|
|
7
|
+
"declaration-block-single-line-max-declarations": [
|
|
8
|
+
MAX_DECLARATION_PER_LINE,
|
|
9
|
+
{
|
|
10
|
+
message: "\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0441\u0432\u043E\u0439\u0441\u0442\u0432 \u0432 \u043E\u0434\u043D\u043E\u0439 \u0441\u0442\u0440\u043E\u043A\u0435 \u043D\u0435 \u0431\u043E\u043B\u0435\u0435 5\u0448\u0442."
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"function-name-case": [
|
|
14
|
+
"lower",
|
|
15
|
+
{
|
|
16
|
+
message: "\u0417\u0430\u043F\u0440\u0435\u0449\u0430\u0435\u043C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u0432\u0435\u0440\u0445\u043D\u0435\u0433\u043E \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0432 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u044F\u0445 \u0444\u0443\u043D\u043A\u0446\u0438\u0439"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"color-hex-length": ["long", { message: "\u0417\u0430\u043F\u0440\u0435\u0449\u0430\u0435\u043C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u043A\u043E\u0440\u043E\u0434\u043A\u0438\u0445 hex \u0446\u0432\u0435\u0442\u043E\u0432" }],
|
|
20
|
+
"color-named": ["never", { message: "\u0417\u0430\u043F\u0440\u0435\u0449\u0430\u0435\u043C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u043D\u044B\u0445 \u0446\u0432\u0435\u0442\u043E\u0432" }],
|
|
21
|
+
"custom-property-pattern": "^[A-z0-9]+(__[A-z0-9]+)*$",
|
|
22
|
+
"declaration-empty-line-before": null,
|
|
23
|
+
"declaration-property-value-no-unknown": null
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
const orderRules = {
|
|
27
|
+
"order/order": [
|
|
28
|
+
[
|
|
29
|
+
{ type: "at-rule", name: "import" },
|
|
30
|
+
{ type: "at-rule", name: "forward" },
|
|
31
|
+
{ type: "at-rule", name: "use" },
|
|
32
|
+
"dollar-variables",
|
|
33
|
+
"at-variables",
|
|
34
|
+
"custom-properties",
|
|
35
|
+
{ type: "at-rule", name: "custom-media" },
|
|
36
|
+
{ type: "at-rule", name: "function" },
|
|
37
|
+
{ type: "at-rule", name: "extend" },
|
|
38
|
+
"declarations",
|
|
39
|
+
"less-mixins",
|
|
40
|
+
{ type: "at-rule", name: "mixin" },
|
|
41
|
+
{ type: "at-rule", mixin: true },
|
|
42
|
+
"rules",
|
|
43
|
+
"at-rules"
|
|
44
|
+
]
|
|
45
|
+
]
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
const appearance = [
|
|
49
|
+
"appearance",
|
|
50
|
+
"visibility",
|
|
51
|
+
"color-scheme",
|
|
52
|
+
"forced-color-adjust",
|
|
53
|
+
"accent-color",
|
|
54
|
+
"perspective",
|
|
55
|
+
"perspective-origin",
|
|
56
|
+
"backface-visibility",
|
|
57
|
+
"opacity",
|
|
58
|
+
"object-fit",
|
|
59
|
+
"object-position",
|
|
60
|
+
"image-orientation",
|
|
61
|
+
"background",
|
|
62
|
+
"background-color",
|
|
63
|
+
"background-image",
|
|
64
|
+
"background-repeat",
|
|
65
|
+
"background-repeat-x",
|
|
66
|
+
"background-repeat-y",
|
|
67
|
+
"background-attachment",
|
|
68
|
+
"background-position",
|
|
69
|
+
"background-position-x",
|
|
70
|
+
"background-position-y",
|
|
71
|
+
"background-clip",
|
|
72
|
+
"background-origin",
|
|
73
|
+
"background-size",
|
|
74
|
+
"background-blend-mode",
|
|
75
|
+
"clip",
|
|
76
|
+
"clip-path",
|
|
77
|
+
"filter",
|
|
78
|
+
"backdrop-filter",
|
|
79
|
+
"box-decoration-break",
|
|
80
|
+
"border",
|
|
81
|
+
"border-color",
|
|
82
|
+
"border-style",
|
|
83
|
+
"border-width",
|
|
84
|
+
"border-top",
|
|
85
|
+
"border-top-color",
|
|
86
|
+
"border-top-style",
|
|
87
|
+
"border-top-width",
|
|
88
|
+
"border-right",
|
|
89
|
+
"border-right-color",
|
|
90
|
+
"border-right-style",
|
|
91
|
+
"border-right-width",
|
|
92
|
+
"border-bottom",
|
|
93
|
+
"border-bottom-color",
|
|
94
|
+
"border-bottom-style",
|
|
95
|
+
"border-bottom-width",
|
|
96
|
+
"border-left",
|
|
97
|
+
"border-left-color",
|
|
98
|
+
"border-left-style",
|
|
99
|
+
"border-left-width",
|
|
100
|
+
"border-block",
|
|
101
|
+
"border-block-color",
|
|
102
|
+
"border-block-style",
|
|
103
|
+
"border-block-width",
|
|
104
|
+
"border-block-start",
|
|
105
|
+
"border-block-start-color",
|
|
106
|
+
"border-block-start-style",
|
|
107
|
+
"border-block-start-width",
|
|
108
|
+
"border-block-end",
|
|
109
|
+
"border-block-end-color",
|
|
110
|
+
"border-block-end-style",
|
|
111
|
+
"border-block-end-width",
|
|
112
|
+
"border-inline",
|
|
113
|
+
"border-inline-color",
|
|
114
|
+
"border-inline-style",
|
|
115
|
+
"border-inline-width",
|
|
116
|
+
"border-inline-start",
|
|
117
|
+
"border-inline-start-color",
|
|
118
|
+
"border-inline-start-style",
|
|
119
|
+
"border-inline-start-width",
|
|
120
|
+
"border-inline-end",
|
|
121
|
+
"border-inline-end-color",
|
|
122
|
+
"border-inline-end-style",
|
|
123
|
+
"border-inline-end-width",
|
|
124
|
+
"border-radius",
|
|
125
|
+
"border-top-left-radius",
|
|
126
|
+
"border-top-right-radius",
|
|
127
|
+
"border-bottom-right-radius",
|
|
128
|
+
"border-bottom-left-radius",
|
|
129
|
+
"border-start-start-radius",
|
|
130
|
+
"border-start-end-radius",
|
|
131
|
+
"border-end-start-radius",
|
|
132
|
+
"border-end-end-radius",
|
|
133
|
+
"border-image",
|
|
134
|
+
"border-image-source",
|
|
135
|
+
"border-image-slice",
|
|
136
|
+
"border-image-width",
|
|
137
|
+
"border-image-outset",
|
|
138
|
+
"border-image-repeat",
|
|
139
|
+
"outline",
|
|
140
|
+
"outline-color",
|
|
141
|
+
"outline-style",
|
|
142
|
+
"outline-width",
|
|
143
|
+
"outline-offset",
|
|
144
|
+
"box-shadow",
|
|
145
|
+
"mix-blend-mode",
|
|
146
|
+
"caret-color",
|
|
147
|
+
"box-decoration-break",
|
|
148
|
+
"-webkit-box-decoration-break"
|
|
149
|
+
];
|
|
150
|
+
|
|
151
|
+
const boxModel = [
|
|
152
|
+
"box-sizing",
|
|
153
|
+
"aspect-ratio",
|
|
154
|
+
"width",
|
|
155
|
+
"inline-size",
|
|
156
|
+
"min-width",
|
|
157
|
+
"max-width",
|
|
158
|
+
"min-inline-size",
|
|
159
|
+
"max-inline-size",
|
|
160
|
+
"height",
|
|
161
|
+
"block-size",
|
|
162
|
+
"min-height",
|
|
163
|
+
"max-height",
|
|
164
|
+
"min-block-size",
|
|
165
|
+
"max-block-size",
|
|
166
|
+
"margin",
|
|
167
|
+
"margin-top",
|
|
168
|
+
"margin-right",
|
|
169
|
+
"margin-bottom",
|
|
170
|
+
"margin-left",
|
|
171
|
+
"margin-block",
|
|
172
|
+
"margin-block-start",
|
|
173
|
+
"margin-block-end",
|
|
174
|
+
"margin-inline",
|
|
175
|
+
"margin-inline-start",
|
|
176
|
+
"margin-inline-end",
|
|
177
|
+
"padding",
|
|
178
|
+
"padding-top",
|
|
179
|
+
"padding-right",
|
|
180
|
+
"padding-bottom",
|
|
181
|
+
"padding-left",
|
|
182
|
+
"padding-block",
|
|
183
|
+
"padding-block-start",
|
|
184
|
+
"padding-block-end",
|
|
185
|
+
"padding-inline",
|
|
186
|
+
"padding-inline-start",
|
|
187
|
+
"padding-inline-end"
|
|
188
|
+
];
|
|
189
|
+
|
|
190
|
+
const interaction = [
|
|
191
|
+
"pointer-events",
|
|
192
|
+
"touch-action",
|
|
193
|
+
"will-change",
|
|
194
|
+
"cursor",
|
|
195
|
+
"caption-side",
|
|
196
|
+
"content",
|
|
197
|
+
"quotes",
|
|
198
|
+
"counter-set",
|
|
199
|
+
"counter-increment",
|
|
200
|
+
"counter-reset",
|
|
201
|
+
"resize",
|
|
202
|
+
"user-select",
|
|
203
|
+
"overflow-anchor",
|
|
204
|
+
"nav-index",
|
|
205
|
+
"nav-up",
|
|
206
|
+
"nav-right",
|
|
207
|
+
"nav-down",
|
|
208
|
+
"nav-left",
|
|
209
|
+
"scroll-behavior",
|
|
210
|
+
"scrollbar-color",
|
|
211
|
+
"scrollbar-width",
|
|
212
|
+
"scrollbar-gutter",
|
|
213
|
+
"scroll-margin",
|
|
214
|
+
"scroll-margin-block",
|
|
215
|
+
"scroll-margin-block-start",
|
|
216
|
+
"scroll-margin-block-end",
|
|
217
|
+
"scroll-margin-inline",
|
|
218
|
+
"scroll-margin-inline-start",
|
|
219
|
+
"scroll-margin-inline-end",
|
|
220
|
+
"scroll-margin-top",
|
|
221
|
+
"scroll-margin-right",
|
|
222
|
+
"scroll-margin-bottom",
|
|
223
|
+
"scroll-margin-left",
|
|
224
|
+
"scroll-padding",
|
|
225
|
+
"scroll-padding-block",
|
|
226
|
+
"scroll-padding-block-start",
|
|
227
|
+
"scroll-padding-block-end",
|
|
228
|
+
"scroll-padding-inline",
|
|
229
|
+
"scroll-padding-inline-start",
|
|
230
|
+
"scroll-padding-inline-end",
|
|
231
|
+
"scroll-padding-top",
|
|
232
|
+
"scroll-padding-right",
|
|
233
|
+
"scroll-padding-bottom",
|
|
234
|
+
"scroll-padding-left",
|
|
235
|
+
"scroll-snap-type",
|
|
236
|
+
"scroll-snap-align",
|
|
237
|
+
"scroll-snap-stop",
|
|
238
|
+
"content-visibility",
|
|
239
|
+
"contain-intrinsic-size",
|
|
240
|
+
"contain-intrinsic-width",
|
|
241
|
+
"contain-intrinsic-height",
|
|
242
|
+
"contain-intrinsic-inline-size",
|
|
243
|
+
"contain-intrinsic-block-size",
|
|
244
|
+
"speak",
|
|
245
|
+
"speak-as"
|
|
246
|
+
];
|
|
247
|
+
|
|
248
|
+
const layout = [
|
|
249
|
+
"container",
|
|
250
|
+
"container-name",
|
|
251
|
+
"container-type",
|
|
252
|
+
"size",
|
|
253
|
+
"direction",
|
|
254
|
+
"unicode-bidi",
|
|
255
|
+
"float",
|
|
256
|
+
"clear",
|
|
257
|
+
"contain",
|
|
258
|
+
"overflow",
|
|
259
|
+
"overflow-x",
|
|
260
|
+
"overflow-y",
|
|
261
|
+
"overflow-block",
|
|
262
|
+
"overflow-inline",
|
|
263
|
+
"overflow-clip-margin",
|
|
264
|
+
"overscroll-behavior",
|
|
265
|
+
"overscroll-behavior-x",
|
|
266
|
+
"overscroll-behavior-y",
|
|
267
|
+
"overscroll-behavior-inline",
|
|
268
|
+
"overscroll-behavior-block",
|
|
269
|
+
"display",
|
|
270
|
+
"table-layout",
|
|
271
|
+
"border-spacing",
|
|
272
|
+
"border-collapse",
|
|
273
|
+
"empty-cells",
|
|
274
|
+
"columns",
|
|
275
|
+
"column-count",
|
|
276
|
+
"column-width",
|
|
277
|
+
"column-fill",
|
|
278
|
+
"column-rule",
|
|
279
|
+
"column-rule-color",
|
|
280
|
+
"column-rule-style",
|
|
281
|
+
"column-rule-width",
|
|
282
|
+
"column-span",
|
|
283
|
+
"widows",
|
|
284
|
+
"orphans",
|
|
285
|
+
"grid",
|
|
286
|
+
"grid-area",
|
|
287
|
+
"grid-auto-columns",
|
|
288
|
+
"grid-auto-flow",
|
|
289
|
+
"grid-auto-rows",
|
|
290
|
+
"grid-column",
|
|
291
|
+
"grid-column-end",
|
|
292
|
+
"grid-column-gap",
|
|
293
|
+
"grid-column-start",
|
|
294
|
+
"grid-gap",
|
|
295
|
+
"grid-row",
|
|
296
|
+
"grid-row-end",
|
|
297
|
+
"grid-row-gap",
|
|
298
|
+
"grid-row-start",
|
|
299
|
+
"grid-template",
|
|
300
|
+
"grid-template-areas",
|
|
301
|
+
"grid-template-columns",
|
|
302
|
+
"grid-template-rows",
|
|
303
|
+
"flex",
|
|
304
|
+
"flex-flow",
|
|
305
|
+
"flex-basis",
|
|
306
|
+
"flex-direction",
|
|
307
|
+
"flex-grow",
|
|
308
|
+
"flex-shrink",
|
|
309
|
+
"flex-wrap",
|
|
310
|
+
"box-orient",
|
|
311
|
+
"line-clamp",
|
|
312
|
+
"gap",
|
|
313
|
+
"row-gap",
|
|
314
|
+
"column-gap",
|
|
315
|
+
"place-content",
|
|
316
|
+
"place-items",
|
|
317
|
+
"place-self",
|
|
318
|
+
"align-content",
|
|
319
|
+
"align-items",
|
|
320
|
+
"align-self",
|
|
321
|
+
"justify-content",
|
|
322
|
+
"justify-items",
|
|
323
|
+
"justify-self",
|
|
324
|
+
"order",
|
|
325
|
+
"break-inside",
|
|
326
|
+
"break-before",
|
|
327
|
+
"break-after",
|
|
328
|
+
"shape-outside",
|
|
329
|
+
"shape-image-threshold",
|
|
330
|
+
"shape-margin"
|
|
331
|
+
];
|
|
332
|
+
|
|
333
|
+
const positioning = [
|
|
334
|
+
"isolation",
|
|
335
|
+
"position",
|
|
336
|
+
"z-index",
|
|
337
|
+
"top",
|
|
338
|
+
"right",
|
|
339
|
+
"bottom",
|
|
340
|
+
"left",
|
|
341
|
+
"inset",
|
|
342
|
+
"inset-block",
|
|
343
|
+
"inset-block-start",
|
|
344
|
+
"inset-block-end",
|
|
345
|
+
"inset-inline",
|
|
346
|
+
"inset-inline-start",
|
|
347
|
+
"inset-inline-end",
|
|
348
|
+
"zoom",
|
|
349
|
+
"transform-origin",
|
|
350
|
+
"transform-box",
|
|
351
|
+
"transform-style",
|
|
352
|
+
"transform",
|
|
353
|
+
"translate",
|
|
354
|
+
"rotate",
|
|
355
|
+
"scale",
|
|
356
|
+
"offset-path",
|
|
357
|
+
"offset-distance",
|
|
358
|
+
"offset-rotate"
|
|
359
|
+
];
|
|
360
|
+
|
|
361
|
+
const svgPresentation = [
|
|
362
|
+
"alignment-baseline",
|
|
363
|
+
"baseline-shift",
|
|
364
|
+
"dominant-baseline",
|
|
365
|
+
"text-anchor",
|
|
366
|
+
"cx",
|
|
367
|
+
"cy",
|
|
368
|
+
"d",
|
|
369
|
+
"r",
|
|
370
|
+
"rx",
|
|
371
|
+
"ry",
|
|
372
|
+
"fill",
|
|
373
|
+
"fill-opacity",
|
|
374
|
+
"fill-rule",
|
|
375
|
+
"flood-color",
|
|
376
|
+
"flood-opacity",
|
|
377
|
+
"stop-color",
|
|
378
|
+
"stop-opacity",
|
|
379
|
+
"stroke",
|
|
380
|
+
"stroke-dasharray",
|
|
381
|
+
"stroke-dashoffset",
|
|
382
|
+
"stroke-linecap",
|
|
383
|
+
"stroke-linejoin",
|
|
384
|
+
"stroke-miterlimit",
|
|
385
|
+
"stroke-opacity",
|
|
386
|
+
"stroke-width",
|
|
387
|
+
"vector-effect",
|
|
388
|
+
"color-interpolation",
|
|
389
|
+
"color-interpolation-filters",
|
|
390
|
+
"color-profile",
|
|
391
|
+
"color-rendering",
|
|
392
|
+
"image-rendering",
|
|
393
|
+
"lighting-color",
|
|
394
|
+
"marker-start",
|
|
395
|
+
"marker-mid",
|
|
396
|
+
"marker-end",
|
|
397
|
+
"mask",
|
|
398
|
+
"mask-type",
|
|
399
|
+
"shape-rendering",
|
|
400
|
+
"clip-rule"
|
|
401
|
+
];
|
|
402
|
+
|
|
403
|
+
const transition = [
|
|
404
|
+
"transition",
|
|
405
|
+
"transition-delay",
|
|
406
|
+
"transition-timing-function",
|
|
407
|
+
"transition-duration",
|
|
408
|
+
"transition-property",
|
|
409
|
+
"animation",
|
|
410
|
+
"animation-name",
|
|
411
|
+
"animation-duration",
|
|
412
|
+
"animation-play-state",
|
|
413
|
+
"animation-timing-function",
|
|
414
|
+
"animation-fill-mode",
|
|
415
|
+
"animation-delay",
|
|
416
|
+
"animation-iteration-count",
|
|
417
|
+
"animation-direction",
|
|
418
|
+
"animation-timeline",
|
|
419
|
+
"timeline-scope",
|
|
420
|
+
"scroll-timeline",
|
|
421
|
+
"scroll-timeline-name",
|
|
422
|
+
"scroll-timeline-axis",
|
|
423
|
+
"view-timeline",
|
|
424
|
+
"view-timeline-name",
|
|
425
|
+
"view-timeline-axis",
|
|
426
|
+
"view-timeline-inset",
|
|
427
|
+
"view-transition-name"
|
|
428
|
+
];
|
|
429
|
+
|
|
430
|
+
const typography = [
|
|
431
|
+
"writing-mode",
|
|
432
|
+
"font",
|
|
433
|
+
"font-family",
|
|
434
|
+
"font-size",
|
|
435
|
+
"font-feature-settings",
|
|
436
|
+
"font-variation-settings",
|
|
437
|
+
"font-optical-sizing",
|
|
438
|
+
"font-weight",
|
|
439
|
+
"font-style",
|
|
440
|
+
"font-display",
|
|
441
|
+
"font-kerning",
|
|
442
|
+
"font-variant",
|
|
443
|
+
"font-variant-ligatures",
|
|
444
|
+
"font-variant-caps",
|
|
445
|
+
"font-variant-alternates",
|
|
446
|
+
"font-variant-numeric",
|
|
447
|
+
"font-variant-east-asian",
|
|
448
|
+
"font-variant-position",
|
|
449
|
+
"font-size-adjust",
|
|
450
|
+
"font-stretch",
|
|
451
|
+
"font-effect",
|
|
452
|
+
"font-emphasize",
|
|
453
|
+
"font-emphasize-position",
|
|
454
|
+
"font-emphasize-style",
|
|
455
|
+
"font-smoothing",
|
|
456
|
+
"-webkit-font-smoothing",
|
|
457
|
+
"-moz-osx-font-smoothing",
|
|
458
|
+
"font-smooth",
|
|
459
|
+
"ruby-position",
|
|
460
|
+
"line-height",
|
|
461
|
+
"hyphens",
|
|
462
|
+
"color",
|
|
463
|
+
"text-align",
|
|
464
|
+
"text-align-last",
|
|
465
|
+
"text-emphasis",
|
|
466
|
+
"text-emphasis-color",
|
|
467
|
+
"text-emphasis-style",
|
|
468
|
+
"text-emphasis-position",
|
|
469
|
+
"text-decoration",
|
|
470
|
+
"text-decoration-color",
|
|
471
|
+
"text-decoration-line",
|
|
472
|
+
"text-decoration-style",
|
|
473
|
+
"text-decoration-thickness",
|
|
474
|
+
"text-decoration-skip-ink",
|
|
475
|
+
"text-underline-position",
|
|
476
|
+
"text-underline-offset",
|
|
477
|
+
"text-indent",
|
|
478
|
+
"text-justify",
|
|
479
|
+
"text-outline",
|
|
480
|
+
"text-overflow",
|
|
481
|
+
"text-overflow-ellipsis",
|
|
482
|
+
"text-overflow-mode",
|
|
483
|
+
"text-shadow",
|
|
484
|
+
"text-transform",
|
|
485
|
+
"text-wrap",
|
|
486
|
+
"text-size-adjust",
|
|
487
|
+
"text-combine-upright",
|
|
488
|
+
"text-orientation",
|
|
489
|
+
"text-rendering",
|
|
490
|
+
"-webkit-text-fill-color",
|
|
491
|
+
"-webkit-text-stroke-color",
|
|
492
|
+
"letter-spacing",
|
|
493
|
+
"word-break",
|
|
494
|
+
"word-spacing",
|
|
495
|
+
"word-wrap",
|
|
496
|
+
"line-break",
|
|
497
|
+
"overflow-wrap",
|
|
498
|
+
"tab-size",
|
|
499
|
+
"white-space",
|
|
500
|
+
"vertical-align",
|
|
501
|
+
"paint-order",
|
|
502
|
+
"hanging-punctuation",
|
|
503
|
+
"list-style",
|
|
504
|
+
"list-style-position",
|
|
505
|
+
"list-style-type",
|
|
506
|
+
"list-style-image",
|
|
507
|
+
"src",
|
|
508
|
+
"unicode-range",
|
|
509
|
+
"ascent-override",
|
|
510
|
+
"descent-override",
|
|
511
|
+
"line-gap-override"
|
|
512
|
+
];
|
|
513
|
+
|
|
514
|
+
const groupsProperty = [
|
|
515
|
+
["composes"],
|
|
516
|
+
["all"],
|
|
517
|
+
interaction,
|
|
518
|
+
positioning,
|
|
519
|
+
layout,
|
|
520
|
+
boxModel,
|
|
521
|
+
typography,
|
|
522
|
+
appearance,
|
|
523
|
+
svgPresentation,
|
|
524
|
+
transition
|
|
525
|
+
];
|
|
526
|
+
const propertiesOrder = groupsProperty.map((properties, groupName) => ({
|
|
527
|
+
groupName,
|
|
528
|
+
emptyLineBefore: "never",
|
|
529
|
+
noEmptyLineBetween: true,
|
|
530
|
+
properties
|
|
531
|
+
}));
|
|
532
|
+
|
|
533
|
+
const orderGroupsRules = {
|
|
534
|
+
"order/properties-order": [
|
|
535
|
+
propertiesOrder,
|
|
536
|
+
{
|
|
537
|
+
severity: "warning",
|
|
538
|
+
unspecified: "bottomAlphabetical"
|
|
539
|
+
}
|
|
540
|
+
]
|
|
541
|
+
};
|
|
542
|
+
|
|
543
|
+
exports.baseRules = baseRules;
|
|
544
|
+
exports.orderGroupsRules = orderGroupsRules;
|
|
545
|
+
exports.orderRules = orderRules;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import _default from '../eslint/config/all.js';
|
|
2
|
+
import baseConfig from '../eslint/config/base.js';
|
|
3
|
+
import importsConfig from '../eslint/config/imports.js';
|
|
4
|
+
import jsonConfig from '../eslint/config/json.js';
|
|
5
|
+
import jsxConfig from '../eslint/config/jsx.js';
|
|
6
|
+
import prettierConfig from '../eslint/config/prettier.js';
|
|
7
|
+
import reactConfig from '../eslint/config/react.js';
|
|
8
|
+
import vueConfig from '../eslint/config/vue.js';
|
|
9
|
+
|
|
10
|
+
declare namespace index {
|
|
11
|
+
export {
|
|
12
|
+
_default as all,
|
|
13
|
+
baseConfig as base,
|
|
14
|
+
importsConfig as imports,
|
|
15
|
+
jsonConfig as json,
|
|
16
|
+
jsxConfig as jsx,
|
|
17
|
+
prettierConfig as prettier,
|
|
18
|
+
reactConfig as react,
|
|
19
|
+
vueConfig as vue,
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export { index as i };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import all from '../stylelint/config/all.mjs';
|
|
2
|
+
import lessConfig from '../stylelint/config/less.mjs';
|
|
3
|
+
import scssConfig from '../stylelint/config/scss.mjs';
|
|
4
|
+
|
|
5
|
+
const index = {
|
|
6
|
+
__proto__: null,
|
|
7
|
+
all: all,
|
|
8
|
+
less: lessConfig,
|
|
9
|
+
scss: scssConfig
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export { index as i };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import all from '../eslint/config/all.mjs';
|
|
2
|
+
import baseConfig from '../eslint/config/base.mjs';
|
|
3
|
+
import importsConfig from '../eslint/config/imports.mjs';
|
|
4
|
+
import jsonConfig from '../eslint/config/json.mjs';
|
|
5
|
+
import jsxConfig from '../eslint/config/jsx.mjs';
|
|
6
|
+
import prettierConfig from '../eslint/config/prettier.mjs';
|
|
7
|
+
import reactConfig from '../eslint/config/react.mjs';
|
|
8
|
+
import vueConfig from '../eslint/config/vue.mjs';
|
|
9
|
+
|
|
10
|
+
const index = {
|
|
11
|
+
__proto__: null,
|
|
12
|
+
all: all,
|
|
13
|
+
base: baseConfig,
|
|
14
|
+
imports: importsConfig,
|
|
15
|
+
json: jsonConfig,
|
|
16
|
+
jsx: jsxConfig,
|
|
17
|
+
prettier: prettierConfig,
|
|
18
|
+
react: reactConfig,
|
|
19
|
+
vue: vueConfig
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export { index as i };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const stylelint_config_all = require('../stylelint/config/all.cjs');
|
|
4
|
+
const stylelint_config_less = require('../stylelint/config/less.cjs');
|
|
5
|
+
const stylelint_config_scss = require('../stylelint/config/scss.cjs');
|
|
6
|
+
|
|
7
|
+
const index = {
|
|
8
|
+
__proto__: null,
|
|
9
|
+
all: stylelint_config_all,
|
|
10
|
+
less: stylelint_config_less,
|
|
11
|
+
scss: stylelint_config_scss
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
exports.index = index;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import _default from '../stylelint/config/all.js';
|
|
2
|
+
import lessConfig from '../stylelint/config/less.js';
|
|
3
|
+
import scssConfig from '../stylelint/config/scss.js';
|
|
4
|
+
|
|
5
|
+
declare namespace index {
|
|
6
|
+
export {
|
|
7
|
+
_default as all,
|
|
8
|
+
lessConfig as less,
|
|
9
|
+
scssConfig as scss,
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { index as i };
|