boss-css 0.0.20 → 0.0.21

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.
Files changed (145) hide show
  1. package/dist/ai/server.d.cts +9 -0
  2. package/dist/ai/server.d.mts +9 -0
  3. package/dist/ai/skills.d.cts +13 -0
  4. package/dist/ai/skills.d.mts +13 -0
  5. package/dist/api/browser.d.cts +7 -0
  6. package/dist/api/browser.d.mts +7 -0
  7. package/dist/api/config.d.cts +6 -0
  8. package/dist/api/config.d.mts +6 -0
  9. package/dist/api/dictionary.d.cts +29 -0
  10. package/dist/api/dictionary.d.mts +29 -0
  11. package/dist/api/noopCss.d.cts +29 -0
  12. package/dist/api/noopCss.d.mts +29 -0
  13. package/dist/api/server.d.cts +7 -0
  14. package/dist/api/server.d.mts +7 -0
  15. package/dist/cli/index.d.cts +1 -0
  16. package/dist/cli/index.d.mts +1 -0
  17. package/dist/compile/runtime.d.cts +5 -0
  18. package/dist/compile/runtime.d.mts +5 -0
  19. package/dist/cx/index.d.cts +15 -0
  20. package/dist/cx/index.d.mts +15 -0
  21. package/dist/detect-fw/index.d.cts +47 -0
  22. package/dist/detect-fw/index.d.mts +47 -0
  23. package/dist/dev/client.d.cts +10 -0
  24. package/dist/dev/client.d.mts +10 -0
  25. package/dist/dev/plugin/browser.d.cts +7 -0
  26. package/dist/dev/plugin/browser.d.mts +7 -0
  27. package/dist/dev/plugin/server.d.cts +8 -0
  28. package/dist/dev/plugin/server.d.mts +8 -0
  29. package/dist/dev/runtime.d.cts +1 -0
  30. package/dist/dev/runtime.d.mts +1 -0
  31. package/dist/dev/server.d.cts +16 -0
  32. package/dist/dev/server.d.mts +16 -0
  33. package/dist/eslint-plugin/index.d.cts +1472 -0
  34. package/dist/eslint-plugin/index.d.mts +1473 -0
  35. package/dist/fontsource/directory.d.cts +19 -0
  36. package/dist/fontsource/directory.d.mts +19 -0
  37. package/dist/fontsource/server.d.cts +7 -0
  38. package/dist/fontsource/server.d.mts +7 -0
  39. package/dist/fontsource/types.d.cts +37 -0
  40. package/dist/fontsource/types.d.mts +37 -0
  41. package/dist/index.d.cts +6 -0
  42. package/dist/index.d.mts +6 -0
  43. package/dist/merge/index.d.cts +18 -0
  44. package/dist/merge/index.d.mts +18 -0
  45. package/dist/native/browser.d.cts +7 -0
  46. package/dist/native/browser.d.mts +7 -0
  47. package/dist/native/server.d.cts +9 -0
  48. package/dist/native/server.d.mts +9 -0
  49. package/dist/parser/classname/server.d.cts +7 -0
  50. package/dist/parser/classname/server.d.mts +7 -0
  51. package/dist/parser/jsx/browser.d.cts +7 -0
  52. package/dist/parser/jsx/browser.d.mts +7 -0
  53. package/dist/parser/jsx/native.d.cts +7 -0
  54. package/dist/parser/jsx/native.d.mts +7 -0
  55. package/dist/parser/jsx/runtime.d.cts +2 -0
  56. package/dist/parser/jsx/runtime.d.mts +2 -0
  57. package/dist/parser/jsx/server.d.cts +9 -0
  58. package/dist/parser/jsx/server.d.mts +9 -0
  59. package/dist/postcss/index.d.cts +12 -0
  60. package/dist/postcss/index.d.mts +12 -0
  61. package/dist/prop/at/runtime-only.d.cts +8 -0
  62. package/dist/prop/at/runtime-only.d.mts +8 -0
  63. package/dist/prop/at/server.d.cts +13 -0
  64. package/dist/prop/at/server.d.mts +13 -0
  65. package/dist/prop/bosswind/browser.d.cts +8 -0
  66. package/dist/prop/bosswind/browser.d.mts +8 -0
  67. package/dist/prop/bosswind/runtime-only.d.cts +8 -0
  68. package/dist/prop/bosswind/runtime-only.d.mts +8 -0
  69. package/dist/prop/bosswind/server.d.cts +9 -0
  70. package/dist/prop/bosswind/server.d.mts +9 -0
  71. package/dist/prop/bosswind/shared.d.cts +11 -0
  72. package/dist/prop/bosswind/shared.d.mts +11 -0
  73. package/dist/prop/child/runtime-only.d.cts +8 -0
  74. package/dist/prop/child/runtime-only.d.mts +8 -0
  75. package/dist/prop/child/server.d.cts +9 -0
  76. package/dist/prop/child/server.d.mts +9 -0
  77. package/dist/prop/css/runtime-only.d.cts +5 -0
  78. package/dist/prop/css/runtime-only.d.mts +5 -0
  79. package/dist/prop/css/server.d.cts +9 -0
  80. package/dist/prop/css/server.d.mts +9 -0
  81. package/dist/prop/pseudo/runtime-only.d.cts +8 -0
  82. package/dist/prop/pseudo/runtime-only.d.mts +8 -0
  83. package/dist/prop/pseudo/server.d.cts +9 -0
  84. package/dist/prop/pseudo/server.d.mts +9 -0
  85. package/dist/reset/server.d.cts +7 -0
  86. package/dist/reset/server.d.mts +7 -0
  87. package/dist/runtime/index.d.cts +20 -0
  88. package/dist/runtime/index.d.mts +20 -0
  89. package/dist/runtime/preact.d.cts +2 -0
  90. package/dist/runtime/preact.d.mts +2 -0
  91. package/dist/runtime/qwik.d.cts +8 -0
  92. package/dist/runtime/qwik.d.mts +8 -0
  93. package/dist/runtime/react.d.cts +2 -0
  94. package/dist/runtime/react.d.mts +2 -0
  95. package/dist/runtime/solid.d.cts +6 -0
  96. package/dist/runtime/solid.d.mts +6 -0
  97. package/dist/runtime/stencil.d.cts +7 -0
  98. package/dist/runtime/stencil.d.mts +7 -0
  99. package/dist/runtime/style.d.cts +4 -0
  100. package/dist/runtime/style.d.mts +4 -0
  101. package/dist/shared/types.d.cts +96 -0
  102. package/dist/shared/types.d.mts +96 -0
  103. package/dist/strategy/classic/runtime-only.d.cts +7 -0
  104. package/dist/strategy/classic/runtime-only.d.mts +7 -0
  105. package/dist/strategy/classname-first/browser.d.cts +7 -0
  106. package/dist/strategy/classname-first/browser.d.mts +7 -0
  107. package/dist/strategy/classname-first/runtime-only.d.cts +7 -0
  108. package/dist/strategy/classname-first/runtime-only.d.mts +7 -0
  109. package/dist/strategy/classname-first/server.d.cts +9 -0
  110. package/dist/strategy/classname-first/server.d.mts +9 -0
  111. package/dist/strategy/classname-only/server.d.cts +8 -0
  112. package/dist/strategy/classname-only/server.d.mts +8 -0
  113. package/dist/strategy/inline-first/browser.d.cts +7 -0
  114. package/dist/strategy/inline-first/browser.d.mts +7 -0
  115. package/dist/strategy/inline-first/runtime-only.d.cts +7 -0
  116. package/dist/strategy/inline-first/runtime-only.d.mts +7 -0
  117. package/dist/strategy/inline-first/server.d.cts +9 -0
  118. package/dist/strategy/inline-first/server.d.mts +9 -0
  119. package/dist/strategy/runtime/runtime-only.d.cts +9 -0
  120. package/dist/strategy/runtime/runtime-only.d.mts +9 -0
  121. package/dist/strategy/runtime/server.d.cts +9 -0
  122. package/dist/strategy/runtime/server.d.mts +9 -0
  123. package/dist/strategy/runtime-only/css.d.cts +43 -0
  124. package/dist/strategy/runtime-only/css.d.mts +43 -0
  125. package/dist/tasks/build.d.cts +23 -0
  126. package/dist/tasks/build.d.mts +23 -0
  127. package/dist/tasks/compile.d.cts +31 -0
  128. package/dist/tasks/compile.d.mts +31 -0
  129. package/dist/tasks/postcss.d.cts +10 -0
  130. package/dist/tasks/postcss.d.mts +10 -0
  131. package/dist/tasks/session.d.cts +12 -0
  132. package/dist/tasks/session.d.mts +12 -0
  133. package/dist/tasks/watch.d.cts +17 -0
  134. package/dist/tasks/watch.d.mts +17 -0
  135. package/dist/types/Plugin.d.cts +251 -0
  136. package/dist/types/Plugin.d.mts +251 -0
  137. package/dist/use/token/browser.d.cts +16 -0
  138. package/dist/use/token/browser.d.mts +16 -0
  139. package/dist/use/token/propMap.d.cts +8 -0
  140. package/dist/use/token/propMap.d.mts +8 -0
  141. package/dist/use/token/runtime-only.d.cts +22 -0
  142. package/dist/use/token/runtime-only.d.mts +22 -0
  143. package/dist/use/token/server.d.cts +19 -0
  144. package/dist/use/token/server.d.mts +19 -0
  145. package/package.json +1 -1
@@ -0,0 +1,1472 @@
1
+ import formatClassnames from "@/eslint-plugin/rules/format-classnames.js";
2
+ import noUnknownClasses from "@/eslint-plugin/rules/no-unknown-classes.js";
3
+ import propsOnly from "@/eslint-plugin/rules/props-only.js";
4
+ import classnamesOnly from "@/eslint-plugin/rules/classnames-only.js";
5
+ import preferClassnames from "@/eslint-plugin/rules/prefer-classnames.js";
6
+ import requirePropFunctions from "@/eslint-plugin/rules/require-prop-functions.js";
7
+ import redundantCx from "@/eslint-plugin/rules/redundant-cx.js";
8
+ import preferTokenValues from "@/eslint-plugin/rules/prefer-token-values.js";
9
+ import preferUnitlessValues from "@/eslint-plugin/rules/prefer-unitless-values.js";
10
+
11
+ //#region src/eslint-plugin/index.d.ts
12
+ declare namespace config {
13
+ let configs: {
14
+ [x: string]: {
15
+ languageOptions: {
16
+ globals: {
17
+ $$: string;
18
+ };
19
+ };
20
+ plugins: {
21
+ [plugin.meta.name]: {
22
+ meta: {
23
+ name: string;
24
+ };
25
+ rules: {
26
+ [formatClassnames.name]: {
27
+ name: string;
28
+ meta: {
29
+ type: string;
30
+ docs: {
31
+ description: string;
32
+ };
33
+ fixable: string;
34
+ schema: {
35
+ type: string;
36
+ additionalProperties: boolean;
37
+ properties: {
38
+ attributes: {
39
+ type: string;
40
+ items: {
41
+ type: string;
42
+ };
43
+ };
44
+ callees: {
45
+ type: string;
46
+ items: {
47
+ type: string;
48
+ };
49
+ };
50
+ variables: {
51
+ type: string;
52
+ items: {
53
+ type: string;
54
+ };
55
+ };
56
+ tags: {
57
+ type: string;
58
+ items: {
59
+ type: string;
60
+ };
61
+ };
62
+ merge: {
63
+ type: string;
64
+ additionalProperties: boolean;
65
+ };
66
+ order: {
67
+ type: string;
68
+ enum: string[];
69
+ };
70
+ additionalProps: {
71
+ type: string;
72
+ items: {
73
+ type: string;
74
+ };
75
+ };
76
+ };
77
+ }[];
78
+ messages: {
79
+ format: string;
80
+ };
81
+ };
82
+ create: (context: any) => {
83
+ JSXAttribute?: undefined;
84
+ CallExpression?: undefined;
85
+ VariableDeclarator?: undefined;
86
+ TaggedTemplateExpression?: undefined;
87
+ } | {
88
+ JSXAttribute(node: any): void;
89
+ CallExpression(node: any): void;
90
+ VariableDeclarator(node: any): void;
91
+ TaggedTemplateExpression(node: any): void;
92
+ };
93
+ };
94
+ [noUnknownClasses.name]: {
95
+ name: string;
96
+ meta: {
97
+ type: string;
98
+ docs: {
99
+ description: string;
100
+ };
101
+ schema: {
102
+ type: string;
103
+ additionalProperties: boolean;
104
+ properties: {
105
+ attributes: {
106
+ type: string;
107
+ items: {
108
+ type: string;
109
+ };
110
+ };
111
+ callees: {
112
+ type: string;
113
+ items: {
114
+ type: string;
115
+ };
116
+ };
117
+ variables: {
118
+ type: string;
119
+ items: {
120
+ type: string;
121
+ };
122
+ };
123
+ tags: {
124
+ type: string;
125
+ items: {
126
+ type: string;
127
+ };
128
+ };
129
+ allowCustomContexts: {
130
+ type: string;
131
+ };
132
+ additionalContexts: {
133
+ type: string;
134
+ items: {
135
+ type: string;
136
+ };
137
+ };
138
+ additionalProps: {
139
+ type: string;
140
+ items: {
141
+ type: string;
142
+ };
143
+ };
144
+ singleProps: {
145
+ type: string;
146
+ items: {
147
+ type: string;
148
+ };
149
+ };
150
+ };
151
+ }[];
152
+ messages: {
153
+ invalid: string;
154
+ };
155
+ };
156
+ create: (context: any) => {
157
+ JSXAttribute?: undefined;
158
+ CallExpression?: undefined;
159
+ VariableDeclarator?: undefined;
160
+ TaggedTemplateExpression?: undefined;
161
+ } | {
162
+ JSXAttribute(node: any): void;
163
+ CallExpression(node: any): void;
164
+ VariableDeclarator(node: any): void;
165
+ TaggedTemplateExpression(node: any): void;
166
+ };
167
+ };
168
+ [propsOnly.name]: {
169
+ name: string;
170
+ meta: {
171
+ type: string;
172
+ docs: {
173
+ description: string;
174
+ };
175
+ schema: {
176
+ type: string;
177
+ additionalProperties: boolean;
178
+ properties: {
179
+ attributes: {
180
+ type: string;
181
+ items: {
182
+ type: string;
183
+ };
184
+ };
185
+ callees: {
186
+ type: string;
187
+ items: {
188
+ type: string;
189
+ };
190
+ };
191
+ variables: {
192
+ type: string;
193
+ items: {
194
+ type: string;
195
+ };
196
+ };
197
+ tags: {
198
+ type: string;
199
+ items: {
200
+ type: string;
201
+ };
202
+ };
203
+ allowCustomContexts: {
204
+ type: string;
205
+ };
206
+ additionalContexts: {
207
+ type: string;
208
+ items: {
209
+ type: string;
210
+ };
211
+ };
212
+ additionalProps: {
213
+ type: string;
214
+ items: {
215
+ type: string;
216
+ };
217
+ };
218
+ singleProps: {
219
+ type: string;
220
+ items: {
221
+ type: string;
222
+ };
223
+ };
224
+ };
225
+ }[];
226
+ messages: {
227
+ propsOnly: string;
228
+ };
229
+ };
230
+ create: (context: any) => {
231
+ JSXAttribute?: undefined;
232
+ CallExpression?: undefined;
233
+ VariableDeclarator?: undefined;
234
+ TaggedTemplateExpression?: undefined;
235
+ } | {
236
+ JSXAttribute(node: any): void;
237
+ CallExpression(node: any): void;
238
+ VariableDeclarator(node: any): void;
239
+ TaggedTemplateExpression(node: any): void;
240
+ };
241
+ };
242
+ [classnamesOnly.name]: {
243
+ name: string;
244
+ meta: {
245
+ type: string;
246
+ docs: {
247
+ description: string;
248
+ };
249
+ schema: {
250
+ type: string;
251
+ additionalProperties: boolean;
252
+ properties: {
253
+ components: {
254
+ type: string;
255
+ items: {
256
+ type: string;
257
+ };
258
+ };
259
+ additionalContexts: {
260
+ type: string;
261
+ items: {
262
+ type: string;
263
+ };
264
+ };
265
+ additionalProps: {
266
+ type: string;
267
+ items: {
268
+ type: string;
269
+ };
270
+ };
271
+ };
272
+ }[];
273
+ messages: {
274
+ classnamesOnly: string;
275
+ };
276
+ };
277
+ create: (context: any) => {
278
+ JSXOpeningElement(node: any): void;
279
+ };
280
+ };
281
+ [preferClassnames.name]: {
282
+ name: string;
283
+ meta: {
284
+ type: string;
285
+ docs: {
286
+ description: string;
287
+ };
288
+ schema: {
289
+ type: string;
290
+ additionalProperties: boolean;
291
+ properties: {
292
+ components: {
293
+ type: string;
294
+ items: {
295
+ type: string;
296
+ };
297
+ };
298
+ additionalContexts: {
299
+ type: string;
300
+ items: {
301
+ type: string;
302
+ };
303
+ };
304
+ additionalProps: {
305
+ type: string;
306
+ items: {
307
+ type: string;
308
+ };
309
+ };
310
+ };
311
+ }[];
312
+ messages: {
313
+ preferClassnames: string;
314
+ };
315
+ };
316
+ create: (context: any) => {
317
+ JSXOpeningElement(node: any): void;
318
+ };
319
+ };
320
+ [requirePropFunctions.name]: {
321
+ name: string;
322
+ meta: {
323
+ type: string;
324
+ docs: {
325
+ description: string;
326
+ };
327
+ schema: {
328
+ type: string;
329
+ additionalProperties: boolean;
330
+ properties: {
331
+ components: {
332
+ type: string;
333
+ items: {
334
+ type: string;
335
+ };
336
+ };
337
+ additionalContexts: {
338
+ type: string;
339
+ items: {
340
+ type: string;
341
+ };
342
+ };
343
+ additionalProps: {
344
+ type: string;
345
+ items: {
346
+ type: string;
347
+ };
348
+ };
349
+ };
350
+ }[];
351
+ messages: {
352
+ requirePropFunctions: string;
353
+ };
354
+ };
355
+ create: (context: any) => {
356
+ JSXOpeningElement?: undefined;
357
+ } | {
358
+ JSXOpeningElement(node: any): void;
359
+ };
360
+ };
361
+ [redundantCx.name]: {
362
+ name: string;
363
+ meta: {
364
+ type: string;
365
+ docs: {
366
+ description: string;
367
+ };
368
+ schema: {
369
+ type: string;
370
+ additionalProperties: boolean;
371
+ properties: {
372
+ components: {
373
+ type: string;
374
+ items: {
375
+ type: string;
376
+ };
377
+ };
378
+ callees: {
379
+ type: string;
380
+ items: {
381
+ type: string;
382
+ };
383
+ };
384
+ };
385
+ }[];
386
+ messages: {
387
+ redundantCx: string;
388
+ };
389
+ };
390
+ create: (context: any) => {
391
+ JSXOpeningElement(node: any): void;
392
+ };
393
+ };
394
+ [preferTokenValues.name]: {
395
+ name: string;
396
+ meta: {
397
+ type: string;
398
+ docs: {
399
+ description: string;
400
+ };
401
+ schema: {
402
+ type: string;
403
+ additionalProperties: boolean;
404
+ properties: {
405
+ components: {
406
+ type: string;
407
+ items: {
408
+ type: string;
409
+ };
410
+ };
411
+ additionalContexts: {
412
+ type: string;
413
+ items: {
414
+ type: string;
415
+ };
416
+ };
417
+ additionalProps: {
418
+ type: string;
419
+ items: {
420
+ type: string;
421
+ };
422
+ };
423
+ };
424
+ }[];
425
+ messages: {
426
+ preferTokenValues: string;
427
+ };
428
+ };
429
+ create: (context: any) => {
430
+ JSXOpeningElement?: undefined;
431
+ } | {
432
+ JSXOpeningElement(node: any): void;
433
+ };
434
+ };
435
+ [preferUnitlessValues.name]: {
436
+ name: string;
437
+ meta: {
438
+ type: string;
439
+ docs: {
440
+ description: string;
441
+ };
442
+ fixable: string;
443
+ schema: {
444
+ type: string;
445
+ additionalProperties: boolean;
446
+ properties: {
447
+ attributes: {
448
+ type: string;
449
+ items: {
450
+ type: string;
451
+ };
452
+ };
453
+ callees: {
454
+ type: string;
455
+ items: {
456
+ type: string;
457
+ };
458
+ };
459
+ variables: {
460
+ type: string;
461
+ items: {
462
+ type: string;
463
+ };
464
+ };
465
+ tags: {
466
+ type: string;
467
+ items: {
468
+ type: string;
469
+ };
470
+ };
471
+ additionalProps: {
472
+ type: string;
473
+ items: {
474
+ type: string;
475
+ };
476
+ };
477
+ unit: {
478
+ type: string;
479
+ };
480
+ };
481
+ }[];
482
+ messages: {
483
+ preferUnitlessValues: string;
484
+ };
485
+ };
486
+ create: (context: any) => {
487
+ JSXAttribute?: undefined;
488
+ CallExpression?: undefined;
489
+ VariableDeclarator?: undefined;
490
+ TaggedTemplateExpression?: undefined;
491
+ } | {
492
+ JSXAttribute(node: any): void;
493
+ CallExpression(node: any): void;
494
+ VariableDeclarator(node: any): void;
495
+ TaggedTemplateExpression(node: any): void;
496
+ };
497
+ };
498
+ };
499
+ };
500
+ };
501
+ rules: any;
502
+ };
503
+ [x: number]: {
504
+ languageOptions: {
505
+ globals: {
506
+ $$: string;
507
+ };
508
+ };
509
+ plugins: {
510
+ [plugin.meta.name]: {
511
+ meta: {
512
+ name: string;
513
+ };
514
+ rules: {
515
+ [formatClassnames.name]: {
516
+ name: string;
517
+ meta: {
518
+ type: string;
519
+ docs: {
520
+ description: string;
521
+ };
522
+ fixable: string;
523
+ schema: {
524
+ type: string;
525
+ additionalProperties: boolean;
526
+ properties: {
527
+ attributes: {
528
+ type: string;
529
+ items: {
530
+ type: string;
531
+ };
532
+ };
533
+ callees: {
534
+ type: string;
535
+ items: {
536
+ type: string;
537
+ };
538
+ };
539
+ variables: {
540
+ type: string;
541
+ items: {
542
+ type: string;
543
+ };
544
+ };
545
+ tags: {
546
+ type: string;
547
+ items: {
548
+ type: string;
549
+ };
550
+ };
551
+ merge: {
552
+ type: string;
553
+ additionalProperties: boolean;
554
+ };
555
+ order: {
556
+ type: string;
557
+ enum: string[];
558
+ };
559
+ additionalProps: {
560
+ type: string;
561
+ items: {
562
+ type: string;
563
+ };
564
+ };
565
+ };
566
+ }[];
567
+ messages: {
568
+ format: string;
569
+ };
570
+ };
571
+ create: (context: any) => {
572
+ JSXAttribute?: undefined;
573
+ CallExpression?: undefined;
574
+ VariableDeclarator?: undefined;
575
+ TaggedTemplateExpression?: undefined;
576
+ } | {
577
+ JSXAttribute(node: any): void;
578
+ CallExpression(node: any): void;
579
+ VariableDeclarator(node: any): void;
580
+ TaggedTemplateExpression(node: any): void;
581
+ };
582
+ };
583
+ [noUnknownClasses.name]: {
584
+ name: string;
585
+ meta: {
586
+ type: string;
587
+ docs: {
588
+ description: string;
589
+ };
590
+ schema: {
591
+ type: string;
592
+ additionalProperties: boolean;
593
+ properties: {
594
+ attributes: {
595
+ type: string;
596
+ items: {
597
+ type: string;
598
+ };
599
+ };
600
+ callees: {
601
+ type: string;
602
+ items: {
603
+ type: string;
604
+ };
605
+ };
606
+ variables: {
607
+ type: string;
608
+ items: {
609
+ type: string;
610
+ };
611
+ };
612
+ tags: {
613
+ type: string;
614
+ items: {
615
+ type: string;
616
+ };
617
+ };
618
+ allowCustomContexts: {
619
+ type: string;
620
+ };
621
+ additionalContexts: {
622
+ type: string;
623
+ items: {
624
+ type: string;
625
+ };
626
+ };
627
+ additionalProps: {
628
+ type: string;
629
+ items: {
630
+ type: string;
631
+ };
632
+ };
633
+ singleProps: {
634
+ type: string;
635
+ items: {
636
+ type: string;
637
+ };
638
+ };
639
+ };
640
+ }[];
641
+ messages: {
642
+ invalid: string;
643
+ };
644
+ };
645
+ create: (context: any) => {
646
+ JSXAttribute?: undefined;
647
+ CallExpression?: undefined;
648
+ VariableDeclarator?: undefined;
649
+ TaggedTemplateExpression?: undefined;
650
+ } | {
651
+ JSXAttribute(node: any): void;
652
+ CallExpression(node: any): void;
653
+ VariableDeclarator(node: any): void;
654
+ TaggedTemplateExpression(node: any): void;
655
+ };
656
+ };
657
+ [propsOnly.name]: {
658
+ name: string;
659
+ meta: {
660
+ type: string;
661
+ docs: {
662
+ description: string;
663
+ };
664
+ schema: {
665
+ type: string;
666
+ additionalProperties: boolean;
667
+ properties: {
668
+ attributes: {
669
+ type: string;
670
+ items: {
671
+ type: string;
672
+ };
673
+ };
674
+ callees: {
675
+ type: string;
676
+ items: {
677
+ type: string;
678
+ };
679
+ };
680
+ variables: {
681
+ type: string;
682
+ items: {
683
+ type: string;
684
+ };
685
+ };
686
+ tags: {
687
+ type: string;
688
+ items: {
689
+ type: string;
690
+ };
691
+ };
692
+ allowCustomContexts: {
693
+ type: string;
694
+ };
695
+ additionalContexts: {
696
+ type: string;
697
+ items: {
698
+ type: string;
699
+ };
700
+ };
701
+ additionalProps: {
702
+ type: string;
703
+ items: {
704
+ type: string;
705
+ };
706
+ };
707
+ singleProps: {
708
+ type: string;
709
+ items: {
710
+ type: string;
711
+ };
712
+ };
713
+ };
714
+ }[];
715
+ messages: {
716
+ propsOnly: string;
717
+ };
718
+ };
719
+ create: (context: any) => {
720
+ JSXAttribute?: undefined;
721
+ CallExpression?: undefined;
722
+ VariableDeclarator?: undefined;
723
+ TaggedTemplateExpression?: undefined;
724
+ } | {
725
+ JSXAttribute(node: any): void;
726
+ CallExpression(node: any): void;
727
+ VariableDeclarator(node: any): void;
728
+ TaggedTemplateExpression(node: any): void;
729
+ };
730
+ };
731
+ [classnamesOnly.name]: {
732
+ name: string;
733
+ meta: {
734
+ type: string;
735
+ docs: {
736
+ description: string;
737
+ };
738
+ schema: {
739
+ type: string;
740
+ additionalProperties: boolean;
741
+ properties: {
742
+ components: {
743
+ type: string;
744
+ items: {
745
+ type: string;
746
+ };
747
+ };
748
+ additionalContexts: {
749
+ type: string;
750
+ items: {
751
+ type: string;
752
+ };
753
+ };
754
+ additionalProps: {
755
+ type: string;
756
+ items: {
757
+ type: string;
758
+ };
759
+ };
760
+ };
761
+ }[];
762
+ messages: {
763
+ classnamesOnly: string;
764
+ };
765
+ };
766
+ create: (context: any) => {
767
+ JSXOpeningElement(node: any): void;
768
+ };
769
+ };
770
+ [preferClassnames.name]: {
771
+ name: string;
772
+ meta: {
773
+ type: string;
774
+ docs: {
775
+ description: string;
776
+ };
777
+ schema: {
778
+ type: string;
779
+ additionalProperties: boolean;
780
+ properties: {
781
+ components: {
782
+ type: string;
783
+ items: {
784
+ type: string;
785
+ };
786
+ };
787
+ additionalContexts: {
788
+ type: string;
789
+ items: {
790
+ type: string;
791
+ };
792
+ };
793
+ additionalProps: {
794
+ type: string;
795
+ items: {
796
+ type: string;
797
+ };
798
+ };
799
+ };
800
+ }[];
801
+ messages: {
802
+ preferClassnames: string;
803
+ };
804
+ };
805
+ create: (context: any) => {
806
+ JSXOpeningElement(node: any): void;
807
+ };
808
+ };
809
+ [requirePropFunctions.name]: {
810
+ name: string;
811
+ meta: {
812
+ type: string;
813
+ docs: {
814
+ description: string;
815
+ };
816
+ schema: {
817
+ type: string;
818
+ additionalProperties: boolean;
819
+ properties: {
820
+ components: {
821
+ type: string;
822
+ items: {
823
+ type: string;
824
+ };
825
+ };
826
+ additionalContexts: {
827
+ type: string;
828
+ items: {
829
+ type: string;
830
+ };
831
+ };
832
+ additionalProps: {
833
+ type: string;
834
+ items: {
835
+ type: string;
836
+ };
837
+ };
838
+ };
839
+ }[];
840
+ messages: {
841
+ requirePropFunctions: string;
842
+ };
843
+ };
844
+ create: (context: any) => {
845
+ JSXOpeningElement?: undefined;
846
+ } | {
847
+ JSXOpeningElement(node: any): void;
848
+ };
849
+ };
850
+ [redundantCx.name]: {
851
+ name: string;
852
+ meta: {
853
+ type: string;
854
+ docs: {
855
+ description: string;
856
+ };
857
+ schema: {
858
+ type: string;
859
+ additionalProperties: boolean;
860
+ properties: {
861
+ components: {
862
+ type: string;
863
+ items: {
864
+ type: string;
865
+ };
866
+ };
867
+ callees: {
868
+ type: string;
869
+ items: {
870
+ type: string;
871
+ };
872
+ };
873
+ };
874
+ }[];
875
+ messages: {
876
+ redundantCx: string;
877
+ };
878
+ };
879
+ create: (context: any) => {
880
+ JSXOpeningElement(node: any): void;
881
+ };
882
+ };
883
+ [preferTokenValues.name]: {
884
+ name: string;
885
+ meta: {
886
+ type: string;
887
+ docs: {
888
+ description: string;
889
+ };
890
+ schema: {
891
+ type: string;
892
+ additionalProperties: boolean;
893
+ properties: {
894
+ components: {
895
+ type: string;
896
+ items: {
897
+ type: string;
898
+ };
899
+ };
900
+ additionalContexts: {
901
+ type: string;
902
+ items: {
903
+ type: string;
904
+ };
905
+ };
906
+ additionalProps: {
907
+ type: string;
908
+ items: {
909
+ type: string;
910
+ };
911
+ };
912
+ };
913
+ }[];
914
+ messages: {
915
+ preferTokenValues: string;
916
+ };
917
+ };
918
+ create: (context: any) => {
919
+ JSXOpeningElement?: undefined;
920
+ } | {
921
+ JSXOpeningElement(node: any): void;
922
+ };
923
+ };
924
+ [preferUnitlessValues.name]: {
925
+ name: string;
926
+ meta: {
927
+ type: string;
928
+ docs: {
929
+ description: string;
930
+ };
931
+ fixable: string;
932
+ schema: {
933
+ type: string;
934
+ additionalProperties: boolean;
935
+ properties: {
936
+ attributes: {
937
+ type: string;
938
+ items: {
939
+ type: string;
940
+ };
941
+ };
942
+ callees: {
943
+ type: string;
944
+ items: {
945
+ type: string;
946
+ };
947
+ };
948
+ variables: {
949
+ type: string;
950
+ items: {
951
+ type: string;
952
+ };
953
+ };
954
+ tags: {
955
+ type: string;
956
+ items: {
957
+ type: string;
958
+ };
959
+ };
960
+ additionalProps: {
961
+ type: string;
962
+ items: {
963
+ type: string;
964
+ };
965
+ };
966
+ unit: {
967
+ type: string;
968
+ };
969
+ };
970
+ }[];
971
+ messages: {
972
+ preferUnitlessValues: string;
973
+ };
974
+ };
975
+ create: (context: any) => {
976
+ JSXAttribute?: undefined;
977
+ CallExpression?: undefined;
978
+ VariableDeclarator?: undefined;
979
+ TaggedTemplateExpression?: undefined;
980
+ } | {
981
+ JSXAttribute(node: any): void;
982
+ CallExpression(node: any): void;
983
+ VariableDeclarator(node: any): void;
984
+ TaggedTemplateExpression(node: any): void;
985
+ };
986
+ };
987
+ };
988
+ };
989
+ };
990
+ rules: any;
991
+ };
992
+ };
993
+ namespace meta {
994
+ let name: string;
995
+ }
996
+ let rules: {
997
+ [formatClassnames.name]: {
998
+ name: string;
999
+ meta: {
1000
+ type: string;
1001
+ docs: {
1002
+ description: string;
1003
+ };
1004
+ fixable: string;
1005
+ schema: {
1006
+ type: string;
1007
+ additionalProperties: boolean;
1008
+ properties: {
1009
+ attributes: {
1010
+ type: string;
1011
+ items: {
1012
+ type: string;
1013
+ };
1014
+ };
1015
+ callees: {
1016
+ type: string;
1017
+ items: {
1018
+ type: string;
1019
+ };
1020
+ };
1021
+ variables: {
1022
+ type: string;
1023
+ items: {
1024
+ type: string;
1025
+ };
1026
+ };
1027
+ tags: {
1028
+ type: string;
1029
+ items: {
1030
+ type: string;
1031
+ };
1032
+ };
1033
+ merge: {
1034
+ type: string;
1035
+ additionalProperties: boolean;
1036
+ };
1037
+ order: {
1038
+ type: string;
1039
+ enum: string[];
1040
+ };
1041
+ additionalProps: {
1042
+ type: string;
1043
+ items: {
1044
+ type: string;
1045
+ };
1046
+ };
1047
+ };
1048
+ }[];
1049
+ messages: {
1050
+ format: string;
1051
+ };
1052
+ };
1053
+ create: (context: any) => {
1054
+ JSXAttribute?: undefined;
1055
+ CallExpression?: undefined;
1056
+ VariableDeclarator?: undefined;
1057
+ TaggedTemplateExpression?: undefined;
1058
+ } | {
1059
+ JSXAttribute(node: any): void;
1060
+ CallExpression(node: any): void;
1061
+ VariableDeclarator(node: any): void;
1062
+ TaggedTemplateExpression(node: any): void;
1063
+ };
1064
+ };
1065
+ [noUnknownClasses.name]: {
1066
+ name: string;
1067
+ meta: {
1068
+ type: string;
1069
+ docs: {
1070
+ description: string;
1071
+ };
1072
+ schema: {
1073
+ type: string;
1074
+ additionalProperties: boolean;
1075
+ properties: {
1076
+ attributes: {
1077
+ type: string;
1078
+ items: {
1079
+ type: string;
1080
+ };
1081
+ };
1082
+ callees: {
1083
+ type: string;
1084
+ items: {
1085
+ type: string;
1086
+ };
1087
+ };
1088
+ variables: {
1089
+ type: string;
1090
+ items: {
1091
+ type: string;
1092
+ };
1093
+ };
1094
+ tags: {
1095
+ type: string;
1096
+ items: {
1097
+ type: string;
1098
+ };
1099
+ };
1100
+ allowCustomContexts: {
1101
+ type: string;
1102
+ };
1103
+ additionalContexts: {
1104
+ type: string;
1105
+ items: {
1106
+ type: string;
1107
+ };
1108
+ };
1109
+ additionalProps: {
1110
+ type: string;
1111
+ items: {
1112
+ type: string;
1113
+ };
1114
+ };
1115
+ singleProps: {
1116
+ type: string;
1117
+ items: {
1118
+ type: string;
1119
+ };
1120
+ };
1121
+ };
1122
+ }[];
1123
+ messages: {
1124
+ invalid: string;
1125
+ };
1126
+ };
1127
+ create: (context: any) => {
1128
+ JSXAttribute?: undefined;
1129
+ CallExpression?: undefined;
1130
+ VariableDeclarator?: undefined;
1131
+ TaggedTemplateExpression?: undefined;
1132
+ } | {
1133
+ JSXAttribute(node: any): void;
1134
+ CallExpression(node: any): void;
1135
+ VariableDeclarator(node: any): void;
1136
+ TaggedTemplateExpression(node: any): void;
1137
+ };
1138
+ };
1139
+ [propsOnly.name]: {
1140
+ name: string;
1141
+ meta: {
1142
+ type: string;
1143
+ docs: {
1144
+ description: string;
1145
+ };
1146
+ schema: {
1147
+ type: string;
1148
+ additionalProperties: boolean;
1149
+ properties: {
1150
+ attributes: {
1151
+ type: string;
1152
+ items: {
1153
+ type: string;
1154
+ };
1155
+ };
1156
+ callees: {
1157
+ type: string;
1158
+ items: {
1159
+ type: string;
1160
+ };
1161
+ };
1162
+ variables: {
1163
+ type: string;
1164
+ items: {
1165
+ type: string;
1166
+ };
1167
+ };
1168
+ tags: {
1169
+ type: string;
1170
+ items: {
1171
+ type: string;
1172
+ };
1173
+ };
1174
+ allowCustomContexts: {
1175
+ type: string;
1176
+ };
1177
+ additionalContexts: {
1178
+ type: string;
1179
+ items: {
1180
+ type: string;
1181
+ };
1182
+ };
1183
+ additionalProps: {
1184
+ type: string;
1185
+ items: {
1186
+ type: string;
1187
+ };
1188
+ };
1189
+ singleProps: {
1190
+ type: string;
1191
+ items: {
1192
+ type: string;
1193
+ };
1194
+ };
1195
+ };
1196
+ }[];
1197
+ messages: {
1198
+ propsOnly: string;
1199
+ };
1200
+ };
1201
+ create: (context: any) => {
1202
+ JSXAttribute?: undefined;
1203
+ CallExpression?: undefined;
1204
+ VariableDeclarator?: undefined;
1205
+ TaggedTemplateExpression?: undefined;
1206
+ } | {
1207
+ JSXAttribute(node: any): void;
1208
+ CallExpression(node: any): void;
1209
+ VariableDeclarator(node: any): void;
1210
+ TaggedTemplateExpression(node: any): void;
1211
+ };
1212
+ };
1213
+ [classnamesOnly.name]: {
1214
+ name: string;
1215
+ meta: {
1216
+ type: string;
1217
+ docs: {
1218
+ description: string;
1219
+ };
1220
+ schema: {
1221
+ type: string;
1222
+ additionalProperties: boolean;
1223
+ properties: {
1224
+ components: {
1225
+ type: string;
1226
+ items: {
1227
+ type: string;
1228
+ };
1229
+ };
1230
+ additionalContexts: {
1231
+ type: string;
1232
+ items: {
1233
+ type: string;
1234
+ };
1235
+ };
1236
+ additionalProps: {
1237
+ type: string;
1238
+ items: {
1239
+ type: string;
1240
+ };
1241
+ };
1242
+ };
1243
+ }[];
1244
+ messages: {
1245
+ classnamesOnly: string;
1246
+ };
1247
+ };
1248
+ create: (context: any) => {
1249
+ JSXOpeningElement(node: any): void;
1250
+ };
1251
+ };
1252
+ [preferClassnames.name]: {
1253
+ name: string;
1254
+ meta: {
1255
+ type: string;
1256
+ docs: {
1257
+ description: string;
1258
+ };
1259
+ schema: {
1260
+ type: string;
1261
+ additionalProperties: boolean;
1262
+ properties: {
1263
+ components: {
1264
+ type: string;
1265
+ items: {
1266
+ type: string;
1267
+ };
1268
+ };
1269
+ additionalContexts: {
1270
+ type: string;
1271
+ items: {
1272
+ type: string;
1273
+ };
1274
+ };
1275
+ additionalProps: {
1276
+ type: string;
1277
+ items: {
1278
+ type: string;
1279
+ };
1280
+ };
1281
+ };
1282
+ }[];
1283
+ messages: {
1284
+ preferClassnames: string;
1285
+ };
1286
+ };
1287
+ create: (context: any) => {
1288
+ JSXOpeningElement(node: any): void;
1289
+ };
1290
+ };
1291
+ [requirePropFunctions.name]: {
1292
+ name: string;
1293
+ meta: {
1294
+ type: string;
1295
+ docs: {
1296
+ description: string;
1297
+ };
1298
+ schema: {
1299
+ type: string;
1300
+ additionalProperties: boolean;
1301
+ properties: {
1302
+ components: {
1303
+ type: string;
1304
+ items: {
1305
+ type: string;
1306
+ };
1307
+ };
1308
+ additionalContexts: {
1309
+ type: string;
1310
+ items: {
1311
+ type: string;
1312
+ };
1313
+ };
1314
+ additionalProps: {
1315
+ type: string;
1316
+ items: {
1317
+ type: string;
1318
+ };
1319
+ };
1320
+ };
1321
+ }[];
1322
+ messages: {
1323
+ requirePropFunctions: string;
1324
+ };
1325
+ };
1326
+ create: (context: any) => {
1327
+ JSXOpeningElement?: undefined;
1328
+ } | {
1329
+ JSXOpeningElement(node: any): void;
1330
+ };
1331
+ };
1332
+ [redundantCx.name]: {
1333
+ name: string;
1334
+ meta: {
1335
+ type: string;
1336
+ docs: {
1337
+ description: string;
1338
+ };
1339
+ schema: {
1340
+ type: string;
1341
+ additionalProperties: boolean;
1342
+ properties: {
1343
+ components: {
1344
+ type: string;
1345
+ items: {
1346
+ type: string;
1347
+ };
1348
+ };
1349
+ callees: {
1350
+ type: string;
1351
+ items: {
1352
+ type: string;
1353
+ };
1354
+ };
1355
+ };
1356
+ }[];
1357
+ messages: {
1358
+ redundantCx: string;
1359
+ };
1360
+ };
1361
+ create: (context: any) => {
1362
+ JSXOpeningElement(node: any): void;
1363
+ };
1364
+ };
1365
+ [preferTokenValues.name]: {
1366
+ name: string;
1367
+ meta: {
1368
+ type: string;
1369
+ docs: {
1370
+ description: string;
1371
+ };
1372
+ schema: {
1373
+ type: string;
1374
+ additionalProperties: boolean;
1375
+ properties: {
1376
+ components: {
1377
+ type: string;
1378
+ items: {
1379
+ type: string;
1380
+ };
1381
+ };
1382
+ additionalContexts: {
1383
+ type: string;
1384
+ items: {
1385
+ type: string;
1386
+ };
1387
+ };
1388
+ additionalProps: {
1389
+ type: string;
1390
+ items: {
1391
+ type: string;
1392
+ };
1393
+ };
1394
+ };
1395
+ }[];
1396
+ messages: {
1397
+ preferTokenValues: string;
1398
+ };
1399
+ };
1400
+ create: (context: any) => {
1401
+ JSXOpeningElement?: undefined;
1402
+ } | {
1403
+ JSXOpeningElement(node: any): void;
1404
+ };
1405
+ };
1406
+ [preferUnitlessValues.name]: {
1407
+ name: string;
1408
+ meta: {
1409
+ type: string;
1410
+ docs: {
1411
+ description: string;
1412
+ };
1413
+ fixable: string;
1414
+ schema: {
1415
+ type: string;
1416
+ additionalProperties: boolean;
1417
+ properties: {
1418
+ attributes: {
1419
+ type: string;
1420
+ items: {
1421
+ type: string;
1422
+ };
1423
+ };
1424
+ callees: {
1425
+ type: string;
1426
+ items: {
1427
+ type: string;
1428
+ };
1429
+ };
1430
+ variables: {
1431
+ type: string;
1432
+ items: {
1433
+ type: string;
1434
+ };
1435
+ };
1436
+ tags: {
1437
+ type: string;
1438
+ items: {
1439
+ type: string;
1440
+ };
1441
+ };
1442
+ additionalProps: {
1443
+ type: string;
1444
+ items: {
1445
+ type: string;
1446
+ };
1447
+ };
1448
+ unit: {
1449
+ type: string;
1450
+ };
1451
+ };
1452
+ }[];
1453
+ messages: {
1454
+ preferUnitlessValues: string;
1455
+ };
1456
+ };
1457
+ create: (context: any) => {
1458
+ JSXAttribute?: undefined;
1459
+ CallExpression?: undefined;
1460
+ VariableDeclarator?: undefined;
1461
+ TaggedTemplateExpression?: undefined;
1462
+ } | {
1463
+ JSXAttribute(node: any): void;
1464
+ CallExpression(node: any): void;
1465
+ VariableDeclarator(node: any): void;
1466
+ TaggedTemplateExpression(node: any): void;
1467
+ };
1468
+ };
1469
+ };
1470
+ }
1471
+ declare namespace plugin {}
1472
+ export = config;