@mouse_484/eslint-config 5.10.37 → 5.10.39

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.
@@ -34,6 +34,16 @@ export interface RuleOptions {
34
34
  * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-variable-syntax.md
35
35
  */
36
36
  'better-tailwindcss/enforce-consistent-variable-syntax'?: Linter.RuleEntry<BetterTailwindcssEnforceConsistentVariableSyntax>
37
+ /**
38
+ * Enforce a consistent variant order for Tailwind classes.
39
+ * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-variant-order.md
40
+ */
41
+ 'better-tailwindcss/enforce-consistent-variant-order'?: Linter.RuleEntry<BetterTailwindcssEnforceConsistentVariantOrder>
42
+ /**
43
+ * Enforce logical property class names instead of physical directions.
44
+ * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-logical-properties.md
45
+ */
46
+ 'better-tailwindcss/enforce-logical-properties'?: Linter.RuleEntry<BetterTailwindcssEnforceLogicalProperties>
37
47
  /**
38
48
  * Enforce shorthand class names instead of longhand class names.
39
49
  * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-shorthand-classes.md
@@ -92,6 +102,24 @@ type BetterTailwindcssEnforceCanonicalClasses = []|[{
92
102
  path?: string
93
103
 
94
104
  type: "objectValues"
105
+ } | {
106
+
107
+ match: ({
108
+
109
+ type: "strings"
110
+ } | {
111
+
112
+ path?: string
113
+
114
+ type: "objectKeys"
115
+ } | {
116
+
117
+ path?: string
118
+
119
+ type: "objectValues"
120
+ })[]
121
+
122
+ type: "anonymousFunctionReturn"
95
123
  })[]
96
124
 
97
125
  name: string
@@ -114,11 +142,33 @@ type BetterTailwindcssEnforceCanonicalClasses = []|[{
114
142
  path?: string
115
143
 
116
144
  type: "objectValues"
145
+ } | {
146
+
147
+ match: ({
148
+
149
+ type: "strings"
150
+ } | {
151
+
152
+ path?: string
153
+
154
+ type: "objectKeys"
155
+ } | {
156
+
157
+ path?: string
158
+
159
+ type: "objectValues"
160
+ })[]
161
+
162
+ type: "anonymousFunctionReturn"
117
163
  })[]
118
164
 
119
165
  name: string
120
166
 
121
167
  path?: string
168
+
169
+ targetArgument?: ("all" | "first" | "last" | number)
170
+
171
+ targetCall?: ("all" | "first" | "last" | number)
122
172
  } | {
123
173
 
124
174
  callTarget?: ("all" | "first" | "last" | number)
@@ -138,12 +188,34 @@ type BetterTailwindcssEnforceCanonicalClasses = []|[{
138
188
  path?: string
139
189
 
140
190
  type: "objectValues"
191
+ } | {
192
+
193
+ match: ({
194
+
195
+ type: "strings"
196
+ } | {
197
+
198
+ path?: string
199
+
200
+ type: "objectKeys"
201
+ } | {
202
+
203
+ path?: string
204
+
205
+ type: "objectValues"
206
+ })[]
207
+
208
+ type: "anonymousFunctionReturn"
141
209
  })[]
142
210
 
143
211
  name?: string
144
212
 
145
213
  path: string
146
- }) | {
214
+
215
+ targetArgument?: ("all" | "first" | "last" | number)
216
+
217
+ targetCall?: ("all" | "first" | "last" | number)
218
+ }) | ({
147
219
 
148
220
  kind: "tag"
149
221
 
@@ -160,11 +232,71 @@ type BetterTailwindcssEnforceCanonicalClasses = []|[{
160
232
  path?: string
161
233
 
162
234
  type: "objectValues"
235
+ } | {
236
+
237
+ match: ({
238
+
239
+ type: "strings"
240
+ } | {
241
+
242
+ path?: string
243
+
244
+ type: "objectKeys"
245
+ } | {
246
+
247
+ path?: string
248
+
249
+ type: "objectValues"
250
+ })[]
251
+
252
+ type: "anonymousFunctionReturn"
163
253
  })[]
164
254
 
165
255
  name: string
256
+
257
+ path?: string
166
258
  } | {
167
259
 
260
+ kind: "tag"
261
+
262
+ match?: ({
263
+
264
+ type: "strings"
265
+ } | {
266
+
267
+ path?: string
268
+
269
+ type: "objectKeys"
270
+ } | {
271
+
272
+ path?: string
273
+
274
+ type: "objectValues"
275
+ } | {
276
+
277
+ match: ({
278
+
279
+ type: "strings"
280
+ } | {
281
+
282
+ path?: string
283
+
284
+ type: "objectKeys"
285
+ } | {
286
+
287
+ path?: string
288
+
289
+ type: "objectValues"
290
+ })[]
291
+
292
+ type: "anonymousFunctionReturn"
293
+ })[]
294
+
295
+ name?: string
296
+
297
+ path: string
298
+ }) | {
299
+
168
300
  kind: "variable"
169
301
 
170
302
  match?: ({
@@ -180,6 +312,24 @@ type BetterTailwindcssEnforceCanonicalClasses = []|[{
180
312
  path?: string
181
313
 
182
314
  type: "objectValues"
315
+ } | {
316
+
317
+ match: ({
318
+
319
+ type: "strings"
320
+ } | {
321
+
322
+ path?: string
323
+
324
+ type: "objectKeys"
325
+ } | {
326
+
327
+ path?: string
328
+
329
+ type: "objectValues"
330
+ })[]
331
+
332
+ type: "anonymousFunctionReturn"
183
333
  })[]
184
334
 
185
335
  name: string
@@ -257,8 +407,12 @@ type BetterTailwindcssEnforceCanonicalClasses = []|[{
257
407
 
258
408
  rootFontSize?: number
259
409
 
410
+ cwd?: string
411
+
260
412
  collapse?: boolean
261
413
 
414
+ ignore?: string[]
415
+
262
416
  logical?: boolean
263
417
  }]
264
418
  // ----- better-tailwindcss/enforce-consistent-class-order -----
@@ -281,6 +435,24 @@ type BetterTailwindcssEnforceConsistentClassOrder = []|[{
281
435
  path?: string
282
436
 
283
437
  type: "objectValues"
438
+ } | {
439
+
440
+ match: ({
441
+
442
+ type: "strings"
443
+ } | {
444
+
445
+ path?: string
446
+
447
+ type: "objectKeys"
448
+ } | {
449
+
450
+ path?: string
451
+
452
+ type: "objectValues"
453
+ })[]
454
+
455
+ type: "anonymousFunctionReturn"
284
456
  })[]
285
457
 
286
458
  name: string
@@ -303,11 +475,33 @@ type BetterTailwindcssEnforceConsistentClassOrder = []|[{
303
475
  path?: string
304
476
 
305
477
  type: "objectValues"
478
+ } | {
479
+
480
+ match: ({
481
+
482
+ type: "strings"
483
+ } | {
484
+
485
+ path?: string
486
+
487
+ type: "objectKeys"
488
+ } | {
489
+
490
+ path?: string
491
+
492
+ type: "objectValues"
493
+ })[]
494
+
495
+ type: "anonymousFunctionReturn"
306
496
  })[]
307
497
 
308
498
  name: string
309
499
 
310
500
  path?: string
501
+
502
+ targetArgument?: ("all" | "first" | "last" | number)
503
+
504
+ targetCall?: ("all" | "first" | "last" | number)
311
505
  } | {
312
506
 
313
507
  callTarget?: ("all" | "first" | "last" | number)
@@ -327,12 +521,34 @@ type BetterTailwindcssEnforceConsistentClassOrder = []|[{
327
521
  path?: string
328
522
 
329
523
  type: "objectValues"
524
+ } | {
525
+
526
+ match: ({
527
+
528
+ type: "strings"
529
+ } | {
530
+
531
+ path?: string
532
+
533
+ type: "objectKeys"
534
+ } | {
535
+
536
+ path?: string
537
+
538
+ type: "objectValues"
539
+ })[]
540
+
541
+ type: "anonymousFunctionReturn"
330
542
  })[]
331
543
 
332
544
  name?: string
333
545
 
334
546
  path: string
335
- }) | {
547
+
548
+ targetArgument?: ("all" | "first" | "last" | number)
549
+
550
+ targetCall?: ("all" | "first" | "last" | number)
551
+ }) | ({
336
552
 
337
553
  kind: "tag"
338
554
 
@@ -349,11 +565,71 @@ type BetterTailwindcssEnforceConsistentClassOrder = []|[{
349
565
  path?: string
350
566
 
351
567
  type: "objectValues"
568
+ } | {
569
+
570
+ match: ({
571
+
572
+ type: "strings"
573
+ } | {
574
+
575
+ path?: string
576
+
577
+ type: "objectKeys"
578
+ } | {
579
+
580
+ path?: string
581
+
582
+ type: "objectValues"
583
+ })[]
584
+
585
+ type: "anonymousFunctionReturn"
352
586
  })[]
353
587
 
354
588
  name: string
589
+
590
+ path?: string
355
591
  } | {
356
592
 
593
+ kind: "tag"
594
+
595
+ match?: ({
596
+
597
+ type: "strings"
598
+ } | {
599
+
600
+ path?: string
601
+
602
+ type: "objectKeys"
603
+ } | {
604
+
605
+ path?: string
606
+
607
+ type: "objectValues"
608
+ } | {
609
+
610
+ match: ({
611
+
612
+ type: "strings"
613
+ } | {
614
+
615
+ path?: string
616
+
617
+ type: "objectKeys"
618
+ } | {
619
+
620
+ path?: string
621
+
622
+ type: "objectValues"
623
+ })[]
624
+
625
+ type: "anonymousFunctionReturn"
626
+ })[]
627
+
628
+ name?: string
629
+
630
+ path: string
631
+ }) | {
632
+
357
633
  kind: "variable"
358
634
 
359
635
  match?: ({
@@ -369,6 +645,24 @@ type BetterTailwindcssEnforceConsistentClassOrder = []|[{
369
645
  path?: string
370
646
 
371
647
  type: "objectValues"
648
+ } | {
649
+
650
+ match: ({
651
+
652
+ type: "strings"
653
+ } | {
654
+
655
+ path?: string
656
+
657
+ type: "objectKeys"
658
+ } | {
659
+
660
+ path?: string
661
+
662
+ type: "objectValues"
663
+ })[]
664
+
665
+ type: "anonymousFunctionReturn"
372
666
  })[]
373
667
 
374
668
  name: string
@@ -446,6 +740,8 @@ type BetterTailwindcssEnforceConsistentClassOrder = []|[{
446
740
 
447
741
  rootFontSize?: number
448
742
 
743
+ cwd?: string
744
+
449
745
  componentClassOrder?: ("asc" | "desc" | "preserve")
450
746
 
451
747
  componentClassPosition?: ("start" | "end")
@@ -476,6 +772,24 @@ type BetterTailwindcssEnforceConsistentImportantPosition = []|[{
476
772
  path?: string
477
773
 
478
774
  type: "objectValues"
775
+ } | {
776
+
777
+ match: ({
778
+
779
+ type: "strings"
780
+ } | {
781
+
782
+ path?: string
783
+
784
+ type: "objectKeys"
785
+ } | {
786
+
787
+ path?: string
788
+
789
+ type: "objectValues"
790
+ })[]
791
+
792
+ type: "anonymousFunctionReturn"
479
793
  })[]
480
794
 
481
795
  name: string
@@ -498,11 +812,33 @@ type BetterTailwindcssEnforceConsistentImportantPosition = []|[{
498
812
  path?: string
499
813
 
500
814
  type: "objectValues"
815
+ } | {
816
+
817
+ match: ({
818
+
819
+ type: "strings"
820
+ } | {
821
+
822
+ path?: string
823
+
824
+ type: "objectKeys"
825
+ } | {
826
+
827
+ path?: string
828
+
829
+ type: "objectValues"
830
+ })[]
831
+
832
+ type: "anonymousFunctionReturn"
501
833
  })[]
502
834
 
503
835
  name: string
504
836
 
505
837
  path?: string
838
+
839
+ targetArgument?: ("all" | "first" | "last" | number)
840
+
841
+ targetCall?: ("all" | "first" | "last" | number)
506
842
  } | {
507
843
 
508
844
  callTarget?: ("all" | "first" | "last" | number)
@@ -522,12 +858,34 @@ type BetterTailwindcssEnforceConsistentImportantPosition = []|[{
522
858
  path?: string
523
859
 
524
860
  type: "objectValues"
861
+ } | {
862
+
863
+ match: ({
864
+
865
+ type: "strings"
866
+ } | {
867
+
868
+ path?: string
869
+
870
+ type: "objectKeys"
871
+ } | {
872
+
873
+ path?: string
874
+
875
+ type: "objectValues"
876
+ })[]
877
+
878
+ type: "anonymousFunctionReturn"
525
879
  })[]
526
880
 
527
881
  name?: string
528
882
 
529
883
  path: string
530
- }) | {
884
+
885
+ targetArgument?: ("all" | "first" | "last" | number)
886
+
887
+ targetCall?: ("all" | "first" | "last" | number)
888
+ }) | ({
531
889
 
532
890
  kind: "tag"
533
891
 
@@ -544,11 +902,71 @@ type BetterTailwindcssEnforceConsistentImportantPosition = []|[{
544
902
  path?: string
545
903
 
546
904
  type: "objectValues"
905
+ } | {
906
+
907
+ match: ({
908
+
909
+ type: "strings"
910
+ } | {
911
+
912
+ path?: string
913
+
914
+ type: "objectKeys"
915
+ } | {
916
+
917
+ path?: string
918
+
919
+ type: "objectValues"
920
+ })[]
921
+
922
+ type: "anonymousFunctionReturn"
547
923
  })[]
548
924
 
549
925
  name: string
926
+
927
+ path?: string
550
928
  } | {
551
929
 
930
+ kind: "tag"
931
+
932
+ match?: ({
933
+
934
+ type: "strings"
935
+ } | {
936
+
937
+ path?: string
938
+
939
+ type: "objectKeys"
940
+ } | {
941
+
942
+ path?: string
943
+
944
+ type: "objectValues"
945
+ } | {
946
+
947
+ match: ({
948
+
949
+ type: "strings"
950
+ } | {
951
+
952
+ path?: string
953
+
954
+ type: "objectKeys"
955
+ } | {
956
+
957
+ path?: string
958
+
959
+ type: "objectValues"
960
+ })[]
961
+
962
+ type: "anonymousFunctionReturn"
963
+ })[]
964
+
965
+ name?: string
966
+
967
+ path: string
968
+ }) | {
969
+
552
970
  kind: "variable"
553
971
 
554
972
  match?: ({
@@ -564,6 +982,24 @@ type BetterTailwindcssEnforceConsistentImportantPosition = []|[{
564
982
  path?: string
565
983
 
566
984
  type: "objectValues"
985
+ } | {
986
+
987
+ match: ({
988
+
989
+ type: "strings"
990
+ } | {
991
+
992
+ path?: string
993
+
994
+ type: "objectKeys"
995
+ } | {
996
+
997
+ path?: string
998
+
999
+ type: "objectValues"
1000
+ })[]
1001
+
1002
+ type: "anonymousFunctionReturn"
567
1003
  })[]
568
1004
 
569
1005
  name: string
@@ -641,6 +1077,8 @@ type BetterTailwindcssEnforceConsistentImportantPosition = []|[{
641
1077
 
642
1078
  rootFontSize?: number
643
1079
 
1080
+ cwd?: string
1081
+
644
1082
  position?: ("legacy" | "recommended")
645
1083
  }]
646
1084
  // ----- better-tailwindcss/enforce-consistent-line-wrapping -----
@@ -663,6 +1101,24 @@ type BetterTailwindcssEnforceConsistentLineWrapping = []|[{
663
1101
  path?: string
664
1102
 
665
1103
  type: "objectValues"
1104
+ } | {
1105
+
1106
+ match: ({
1107
+
1108
+ type: "strings"
1109
+ } | {
1110
+
1111
+ path?: string
1112
+
1113
+ type: "objectKeys"
1114
+ } | {
1115
+
1116
+ path?: string
1117
+
1118
+ type: "objectValues"
1119
+ })[]
1120
+
1121
+ type: "anonymousFunctionReturn"
666
1122
  })[]
667
1123
 
668
1124
  name: string
@@ -685,11 +1141,33 @@ type BetterTailwindcssEnforceConsistentLineWrapping = []|[{
685
1141
  path?: string
686
1142
 
687
1143
  type: "objectValues"
1144
+ } | {
1145
+
1146
+ match: ({
1147
+
1148
+ type: "strings"
1149
+ } | {
1150
+
1151
+ path?: string
1152
+
1153
+ type: "objectKeys"
1154
+ } | {
1155
+
1156
+ path?: string
1157
+
1158
+ type: "objectValues"
1159
+ })[]
1160
+
1161
+ type: "anonymousFunctionReturn"
688
1162
  })[]
689
1163
 
690
1164
  name: string
691
1165
 
692
1166
  path?: string
1167
+
1168
+ targetArgument?: ("all" | "first" | "last" | number)
1169
+
1170
+ targetCall?: ("all" | "first" | "last" | number)
693
1171
  } | {
694
1172
 
695
1173
  callTarget?: ("all" | "first" | "last" | number)
@@ -709,12 +1187,34 @@ type BetterTailwindcssEnforceConsistentLineWrapping = []|[{
709
1187
  path?: string
710
1188
 
711
1189
  type: "objectValues"
1190
+ } | {
1191
+
1192
+ match: ({
1193
+
1194
+ type: "strings"
1195
+ } | {
1196
+
1197
+ path?: string
1198
+
1199
+ type: "objectKeys"
1200
+ } | {
1201
+
1202
+ path?: string
1203
+
1204
+ type: "objectValues"
1205
+ })[]
1206
+
1207
+ type: "anonymousFunctionReturn"
712
1208
  })[]
713
1209
 
714
1210
  name?: string
715
1211
 
716
1212
  path: string
717
- }) | {
1213
+
1214
+ targetArgument?: ("all" | "first" | "last" | number)
1215
+
1216
+ targetCall?: ("all" | "first" | "last" | number)
1217
+ }) | ({
718
1218
 
719
1219
  kind: "tag"
720
1220
 
@@ -731,11 +1231,71 @@ type BetterTailwindcssEnforceConsistentLineWrapping = []|[{
731
1231
  path?: string
732
1232
 
733
1233
  type: "objectValues"
1234
+ } | {
1235
+
1236
+ match: ({
1237
+
1238
+ type: "strings"
1239
+ } | {
1240
+
1241
+ path?: string
1242
+
1243
+ type: "objectKeys"
1244
+ } | {
1245
+
1246
+ path?: string
1247
+
1248
+ type: "objectValues"
1249
+ })[]
1250
+
1251
+ type: "anonymousFunctionReturn"
734
1252
  })[]
735
1253
 
736
1254
  name: string
1255
+
1256
+ path?: string
737
1257
  } | {
738
1258
 
1259
+ kind: "tag"
1260
+
1261
+ match?: ({
1262
+
1263
+ type: "strings"
1264
+ } | {
1265
+
1266
+ path?: string
1267
+
1268
+ type: "objectKeys"
1269
+ } | {
1270
+
1271
+ path?: string
1272
+
1273
+ type: "objectValues"
1274
+ } | {
1275
+
1276
+ match: ({
1277
+
1278
+ type: "strings"
1279
+ } | {
1280
+
1281
+ path?: string
1282
+
1283
+ type: "objectKeys"
1284
+ } | {
1285
+
1286
+ path?: string
1287
+
1288
+ type: "objectValues"
1289
+ })[]
1290
+
1291
+ type: "anonymousFunctionReturn"
1292
+ })[]
1293
+
1294
+ name?: string
1295
+
1296
+ path: string
1297
+ }) | {
1298
+
739
1299
  kind: "variable"
740
1300
 
741
1301
  match?: ({
@@ -751,6 +1311,24 @@ type BetterTailwindcssEnforceConsistentLineWrapping = []|[{
751
1311
  path?: string
752
1312
 
753
1313
  type: "objectValues"
1314
+ } | {
1315
+
1316
+ match: ({
1317
+
1318
+ type: "strings"
1319
+ } | {
1320
+
1321
+ path?: string
1322
+
1323
+ type: "objectKeys"
1324
+ } | {
1325
+
1326
+ path?: string
1327
+
1328
+ type: "objectValues"
1329
+ })[]
1330
+
1331
+ type: "anonymousFunctionReturn"
754
1332
  })[]
755
1333
 
756
1334
  name: string
@@ -828,6 +1406,8 @@ type BetterTailwindcssEnforceConsistentLineWrapping = []|[{
828
1406
 
829
1407
  rootFontSize?: number
830
1408
 
1409
+ cwd?: string
1410
+
831
1411
  classesPerLine?: number
832
1412
 
833
1413
  group?: ("newLine" | "emptyLine" | "never")
@@ -841,6 +1421,8 @@ type BetterTailwindcssEnforceConsistentLineWrapping = []|[{
841
1421
  printWidth?: number
842
1422
 
843
1423
  strictness?: ("strict" | "loose")
1424
+
1425
+ tabWidth?: number
844
1426
  }]
845
1427
  // ----- better-tailwindcss/enforce-consistent-variable-syntax -----
846
1428
  type BetterTailwindcssEnforceConsistentVariableSyntax = []|[{
@@ -862,6 +1444,24 @@ type BetterTailwindcssEnforceConsistentVariableSyntax = []|[{
862
1444
  path?: string
863
1445
 
864
1446
  type: "objectValues"
1447
+ } | {
1448
+
1449
+ match: ({
1450
+
1451
+ type: "strings"
1452
+ } | {
1453
+
1454
+ path?: string
1455
+
1456
+ type: "objectKeys"
1457
+ } | {
1458
+
1459
+ path?: string
1460
+
1461
+ type: "objectValues"
1462
+ })[]
1463
+
1464
+ type: "anonymousFunctionReturn"
865
1465
  })[]
866
1466
 
867
1467
  name: string
@@ -884,11 +1484,33 @@ type BetterTailwindcssEnforceConsistentVariableSyntax = []|[{
884
1484
  path?: string
885
1485
 
886
1486
  type: "objectValues"
1487
+ } | {
1488
+
1489
+ match: ({
1490
+
1491
+ type: "strings"
1492
+ } | {
1493
+
1494
+ path?: string
1495
+
1496
+ type: "objectKeys"
1497
+ } | {
1498
+
1499
+ path?: string
1500
+
1501
+ type: "objectValues"
1502
+ })[]
1503
+
1504
+ type: "anonymousFunctionReturn"
887
1505
  })[]
888
1506
 
889
1507
  name: string
890
1508
 
891
1509
  path?: string
1510
+
1511
+ targetArgument?: ("all" | "first" | "last" | number)
1512
+
1513
+ targetCall?: ("all" | "first" | "last" | number)
892
1514
  } | {
893
1515
 
894
1516
  callTarget?: ("all" | "first" | "last" | number)
@@ -908,12 +1530,34 @@ type BetterTailwindcssEnforceConsistentVariableSyntax = []|[{
908
1530
  path?: string
909
1531
 
910
1532
  type: "objectValues"
1533
+ } | {
1534
+
1535
+ match: ({
1536
+
1537
+ type: "strings"
1538
+ } | {
1539
+
1540
+ path?: string
1541
+
1542
+ type: "objectKeys"
1543
+ } | {
1544
+
1545
+ path?: string
1546
+
1547
+ type: "objectValues"
1548
+ })[]
1549
+
1550
+ type: "anonymousFunctionReturn"
911
1551
  })[]
912
1552
 
913
1553
  name?: string
914
1554
 
915
1555
  path: string
916
- }) | {
1556
+
1557
+ targetArgument?: ("all" | "first" | "last" | number)
1558
+
1559
+ targetCall?: ("all" | "first" | "last" | number)
1560
+ }) | ({
917
1561
 
918
1562
  kind: "tag"
919
1563
 
@@ -930,11 +1574,71 @@ type BetterTailwindcssEnforceConsistentVariableSyntax = []|[{
930
1574
  path?: string
931
1575
 
932
1576
  type: "objectValues"
1577
+ } | {
1578
+
1579
+ match: ({
1580
+
1581
+ type: "strings"
1582
+ } | {
1583
+
1584
+ path?: string
1585
+
1586
+ type: "objectKeys"
1587
+ } | {
1588
+
1589
+ path?: string
1590
+
1591
+ type: "objectValues"
1592
+ })[]
1593
+
1594
+ type: "anonymousFunctionReturn"
933
1595
  })[]
934
1596
 
935
1597
  name: string
1598
+
1599
+ path?: string
936
1600
  } | {
937
1601
 
1602
+ kind: "tag"
1603
+
1604
+ match?: ({
1605
+
1606
+ type: "strings"
1607
+ } | {
1608
+
1609
+ path?: string
1610
+
1611
+ type: "objectKeys"
1612
+ } | {
1613
+
1614
+ path?: string
1615
+
1616
+ type: "objectValues"
1617
+ } | {
1618
+
1619
+ match: ({
1620
+
1621
+ type: "strings"
1622
+ } | {
1623
+
1624
+ path?: string
1625
+
1626
+ type: "objectKeys"
1627
+ } | {
1628
+
1629
+ path?: string
1630
+
1631
+ type: "objectValues"
1632
+ })[]
1633
+
1634
+ type: "anonymousFunctionReturn"
1635
+ })[]
1636
+
1637
+ name?: string
1638
+
1639
+ path: string
1640
+ }) | {
1641
+
938
1642
  kind: "variable"
939
1643
 
940
1644
  match?: ({
@@ -950,6 +1654,24 @@ type BetterTailwindcssEnforceConsistentVariableSyntax = []|[{
950
1654
  path?: string
951
1655
 
952
1656
  type: "objectValues"
1657
+ } | {
1658
+
1659
+ match: ({
1660
+
1661
+ type: "strings"
1662
+ } | {
1663
+
1664
+ path?: string
1665
+
1666
+ type: "objectKeys"
1667
+ } | {
1668
+
1669
+ path?: string
1670
+
1671
+ type: "objectValues"
1672
+ })[]
1673
+
1674
+ type: "anonymousFunctionReturn"
953
1675
  })[]
954
1676
 
955
1677
  name: string
@@ -1027,10 +1749,12 @@ type BetterTailwindcssEnforceConsistentVariableSyntax = []|[{
1027
1749
 
1028
1750
  rootFontSize?: number
1029
1751
 
1752
+ cwd?: string
1753
+
1030
1754
  syntax?: ("shorthand" | "variable")
1031
1755
  }]
1032
- // ----- better-tailwindcss/enforce-shorthand-classes -----
1033
- type BetterTailwindcssEnforceShorthandClasses = []|[{
1756
+ // ----- better-tailwindcss/enforce-consistent-variant-order -----
1757
+ type BetterTailwindcssEnforceConsistentVariantOrder = []|[{
1034
1758
 
1035
1759
  selectors?: ({
1036
1760
 
@@ -1049,6 +1773,24 @@ type BetterTailwindcssEnforceShorthandClasses = []|[{
1049
1773
  path?: string
1050
1774
 
1051
1775
  type: "objectValues"
1776
+ } | {
1777
+
1778
+ match: ({
1779
+
1780
+ type: "strings"
1781
+ } | {
1782
+
1783
+ path?: string
1784
+
1785
+ type: "objectKeys"
1786
+ } | {
1787
+
1788
+ path?: string
1789
+
1790
+ type: "objectValues"
1791
+ })[]
1792
+
1793
+ type: "anonymousFunctionReturn"
1052
1794
  })[]
1053
1795
 
1054
1796
  name: string
@@ -1071,11 +1813,33 @@ type BetterTailwindcssEnforceShorthandClasses = []|[{
1071
1813
  path?: string
1072
1814
 
1073
1815
  type: "objectValues"
1816
+ } | {
1817
+
1818
+ match: ({
1819
+
1820
+ type: "strings"
1821
+ } | {
1822
+
1823
+ path?: string
1824
+
1825
+ type: "objectKeys"
1826
+ } | {
1827
+
1828
+ path?: string
1829
+
1830
+ type: "objectValues"
1831
+ })[]
1832
+
1833
+ type: "anonymousFunctionReturn"
1074
1834
  })[]
1075
1835
 
1076
1836
  name: string
1077
1837
 
1078
1838
  path?: string
1839
+
1840
+ targetArgument?: ("all" | "first" | "last" | number)
1841
+
1842
+ targetCall?: ("all" | "first" | "last" | number)
1079
1843
  } | {
1080
1844
 
1081
1845
  callTarget?: ("all" | "first" | "last" | number)
@@ -1095,12 +1859,34 @@ type BetterTailwindcssEnforceShorthandClasses = []|[{
1095
1859
  path?: string
1096
1860
 
1097
1861
  type: "objectValues"
1862
+ } | {
1863
+
1864
+ match: ({
1865
+
1866
+ type: "strings"
1867
+ } | {
1868
+
1869
+ path?: string
1870
+
1871
+ type: "objectKeys"
1872
+ } | {
1873
+
1874
+ path?: string
1875
+
1876
+ type: "objectValues"
1877
+ })[]
1878
+
1879
+ type: "anonymousFunctionReturn"
1098
1880
  })[]
1099
1881
 
1100
1882
  name?: string
1101
1883
 
1102
1884
  path: string
1103
- }) | {
1885
+
1886
+ targetArgument?: ("all" | "first" | "last" | number)
1887
+
1888
+ targetCall?: ("all" | "first" | "last" | number)
1889
+ }) | ({
1104
1890
 
1105
1891
  kind: "tag"
1106
1892
 
@@ -1117,11 +1903,727 @@ type BetterTailwindcssEnforceShorthandClasses = []|[{
1117
1903
  path?: string
1118
1904
 
1119
1905
  type: "objectValues"
1906
+ } | {
1907
+
1908
+ match: ({
1909
+
1910
+ type: "strings"
1911
+ } | {
1912
+
1913
+ path?: string
1914
+
1915
+ type: "objectKeys"
1916
+ } | {
1917
+
1918
+ path?: string
1919
+
1920
+ type: "objectValues"
1921
+ })[]
1922
+
1923
+ type: "anonymousFunctionReturn"
1120
1924
  })[]
1121
1925
 
1122
1926
  name: string
1927
+
1928
+ path?: string
1123
1929
  } | {
1124
1930
 
1931
+ kind: "tag"
1932
+
1933
+ match?: ({
1934
+
1935
+ type: "strings"
1936
+ } | {
1937
+
1938
+ path?: string
1939
+
1940
+ type: "objectKeys"
1941
+ } | {
1942
+
1943
+ path?: string
1944
+
1945
+ type: "objectValues"
1946
+ } | {
1947
+
1948
+ match: ({
1949
+
1950
+ type: "strings"
1951
+ } | {
1952
+
1953
+ path?: string
1954
+
1955
+ type: "objectKeys"
1956
+ } | {
1957
+
1958
+ path?: string
1959
+
1960
+ type: "objectValues"
1961
+ })[]
1962
+
1963
+ type: "anonymousFunctionReturn"
1964
+ })[]
1965
+
1966
+ name?: string
1967
+
1968
+ path: string
1969
+ }) | {
1970
+
1971
+ kind: "variable"
1972
+
1973
+ match?: ({
1974
+
1975
+ type: "strings"
1976
+ } | {
1977
+
1978
+ path?: string
1979
+
1980
+ type: "objectKeys"
1981
+ } | {
1982
+
1983
+ path?: string
1984
+
1985
+ type: "objectValues"
1986
+ } | {
1987
+
1988
+ match: ({
1989
+
1990
+ type: "strings"
1991
+ } | {
1992
+
1993
+ path?: string
1994
+
1995
+ type: "objectKeys"
1996
+ } | {
1997
+
1998
+ path?: string
1999
+
2000
+ type: "objectValues"
2001
+ })[]
2002
+
2003
+ type: "anonymousFunctionReturn"
2004
+ })[]
2005
+
2006
+ name: string
2007
+ })[]
2008
+
2009
+ callees?: ([string, ({
2010
+
2011
+ match: "strings"
2012
+ } | {
2013
+
2014
+ match: "objectKeys"
2015
+
2016
+ pathPattern?: string
2017
+ } | {
2018
+
2019
+ match: "objectValues"
2020
+
2021
+ pathPattern?: string
2022
+ })[]] | string)[]
2023
+
2024
+ attributes?: (string | [string, ({
2025
+
2026
+ match: "strings"
2027
+ } | {
2028
+
2029
+ match: "objectKeys"
2030
+
2031
+ pathPattern?: string
2032
+ } | {
2033
+
2034
+ match: "objectValues"
2035
+
2036
+ pathPattern?: string
2037
+ })[]])[]
2038
+
2039
+ variables?: ([string, ({
2040
+
2041
+ match: "strings"
2042
+ } | {
2043
+
2044
+ match: "objectKeys"
2045
+
2046
+ pathPattern?: string
2047
+ } | {
2048
+
2049
+ match: "objectValues"
2050
+
2051
+ pathPattern?: string
2052
+ })[]] | string)[]
2053
+
2054
+ tags?: ([string, ({
2055
+
2056
+ match: "strings"
2057
+ } | {
2058
+
2059
+ match: "objectKeys"
2060
+
2061
+ pathPattern?: string
2062
+ } | {
2063
+
2064
+ match: "objectValues"
2065
+
2066
+ pathPattern?: string
2067
+ })[]] | string)[]
2068
+
2069
+ entryPoint?: string
2070
+
2071
+ messageStyle?: ("visual" | "compact" | "raw")
2072
+
2073
+ tailwindConfig?: string
2074
+
2075
+ tsconfig?: string
2076
+
2077
+ detectComponentClasses?: boolean
2078
+
2079
+ rootFontSize?: number
2080
+
2081
+ cwd?: string
2082
+ }]
2083
+ // ----- better-tailwindcss/enforce-logical-properties -----
2084
+ type BetterTailwindcssEnforceLogicalProperties = []|[{
2085
+
2086
+ selectors?: ({
2087
+
2088
+ kind: "attribute"
2089
+
2090
+ match?: ({
2091
+
2092
+ type: "strings"
2093
+ } | {
2094
+
2095
+ path?: string
2096
+
2097
+ type: "objectKeys"
2098
+ } | {
2099
+
2100
+ path?: string
2101
+
2102
+ type: "objectValues"
2103
+ } | {
2104
+
2105
+ match: ({
2106
+
2107
+ type: "strings"
2108
+ } | {
2109
+
2110
+ path?: string
2111
+
2112
+ type: "objectKeys"
2113
+ } | {
2114
+
2115
+ path?: string
2116
+
2117
+ type: "objectValues"
2118
+ })[]
2119
+
2120
+ type: "anonymousFunctionReturn"
2121
+ })[]
2122
+
2123
+ name: string
2124
+ } | ({
2125
+
2126
+ callTarget?: ("all" | "first" | "last" | number)
2127
+
2128
+ kind: "callee"
2129
+
2130
+ match?: ({
2131
+
2132
+ type: "strings"
2133
+ } | {
2134
+
2135
+ path?: string
2136
+
2137
+ type: "objectKeys"
2138
+ } | {
2139
+
2140
+ path?: string
2141
+
2142
+ type: "objectValues"
2143
+ } | {
2144
+
2145
+ match: ({
2146
+
2147
+ type: "strings"
2148
+ } | {
2149
+
2150
+ path?: string
2151
+
2152
+ type: "objectKeys"
2153
+ } | {
2154
+
2155
+ path?: string
2156
+
2157
+ type: "objectValues"
2158
+ })[]
2159
+
2160
+ type: "anonymousFunctionReturn"
2161
+ })[]
2162
+
2163
+ name: string
2164
+
2165
+ path?: string
2166
+
2167
+ targetArgument?: ("all" | "first" | "last" | number)
2168
+
2169
+ targetCall?: ("all" | "first" | "last" | number)
2170
+ } | {
2171
+
2172
+ callTarget?: ("all" | "first" | "last" | number)
2173
+
2174
+ kind: "callee"
2175
+
2176
+ match?: ({
2177
+
2178
+ type: "strings"
2179
+ } | {
2180
+
2181
+ path?: string
2182
+
2183
+ type: "objectKeys"
2184
+ } | {
2185
+
2186
+ path?: string
2187
+
2188
+ type: "objectValues"
2189
+ } | {
2190
+
2191
+ match: ({
2192
+
2193
+ type: "strings"
2194
+ } | {
2195
+
2196
+ path?: string
2197
+
2198
+ type: "objectKeys"
2199
+ } | {
2200
+
2201
+ path?: string
2202
+
2203
+ type: "objectValues"
2204
+ })[]
2205
+
2206
+ type: "anonymousFunctionReturn"
2207
+ })[]
2208
+
2209
+ name?: string
2210
+
2211
+ path: string
2212
+
2213
+ targetArgument?: ("all" | "first" | "last" | number)
2214
+
2215
+ targetCall?: ("all" | "first" | "last" | number)
2216
+ }) | ({
2217
+
2218
+ kind: "tag"
2219
+
2220
+ match?: ({
2221
+
2222
+ type: "strings"
2223
+ } | {
2224
+
2225
+ path?: string
2226
+
2227
+ type: "objectKeys"
2228
+ } | {
2229
+
2230
+ path?: string
2231
+
2232
+ type: "objectValues"
2233
+ } | {
2234
+
2235
+ match: ({
2236
+
2237
+ type: "strings"
2238
+ } | {
2239
+
2240
+ path?: string
2241
+
2242
+ type: "objectKeys"
2243
+ } | {
2244
+
2245
+ path?: string
2246
+
2247
+ type: "objectValues"
2248
+ })[]
2249
+
2250
+ type: "anonymousFunctionReturn"
2251
+ })[]
2252
+
2253
+ name: string
2254
+
2255
+ path?: string
2256
+ } | {
2257
+
2258
+ kind: "tag"
2259
+
2260
+ match?: ({
2261
+
2262
+ type: "strings"
2263
+ } | {
2264
+
2265
+ path?: string
2266
+
2267
+ type: "objectKeys"
2268
+ } | {
2269
+
2270
+ path?: string
2271
+
2272
+ type: "objectValues"
2273
+ } | {
2274
+
2275
+ match: ({
2276
+
2277
+ type: "strings"
2278
+ } | {
2279
+
2280
+ path?: string
2281
+
2282
+ type: "objectKeys"
2283
+ } | {
2284
+
2285
+ path?: string
2286
+
2287
+ type: "objectValues"
2288
+ })[]
2289
+
2290
+ type: "anonymousFunctionReturn"
2291
+ })[]
2292
+
2293
+ name?: string
2294
+
2295
+ path: string
2296
+ }) | {
2297
+
2298
+ kind: "variable"
2299
+
2300
+ match?: ({
2301
+
2302
+ type: "strings"
2303
+ } | {
2304
+
2305
+ path?: string
2306
+
2307
+ type: "objectKeys"
2308
+ } | {
2309
+
2310
+ path?: string
2311
+
2312
+ type: "objectValues"
2313
+ } | {
2314
+
2315
+ match: ({
2316
+
2317
+ type: "strings"
2318
+ } | {
2319
+
2320
+ path?: string
2321
+
2322
+ type: "objectKeys"
2323
+ } | {
2324
+
2325
+ path?: string
2326
+
2327
+ type: "objectValues"
2328
+ })[]
2329
+
2330
+ type: "anonymousFunctionReturn"
2331
+ })[]
2332
+
2333
+ name: string
2334
+ })[]
2335
+
2336
+ callees?: ([string, ({
2337
+
2338
+ match: "strings"
2339
+ } | {
2340
+
2341
+ match: "objectKeys"
2342
+
2343
+ pathPattern?: string
2344
+ } | {
2345
+
2346
+ match: "objectValues"
2347
+
2348
+ pathPattern?: string
2349
+ })[]] | string)[]
2350
+
2351
+ attributes?: (string | [string, ({
2352
+
2353
+ match: "strings"
2354
+ } | {
2355
+
2356
+ match: "objectKeys"
2357
+
2358
+ pathPattern?: string
2359
+ } | {
2360
+
2361
+ match: "objectValues"
2362
+
2363
+ pathPattern?: string
2364
+ })[]])[]
2365
+
2366
+ variables?: ([string, ({
2367
+
2368
+ match: "strings"
2369
+ } | {
2370
+
2371
+ match: "objectKeys"
2372
+
2373
+ pathPattern?: string
2374
+ } | {
2375
+
2376
+ match: "objectValues"
2377
+
2378
+ pathPattern?: string
2379
+ })[]] | string)[]
2380
+
2381
+ tags?: ([string, ({
2382
+
2383
+ match: "strings"
2384
+ } | {
2385
+
2386
+ match: "objectKeys"
2387
+
2388
+ pathPattern?: string
2389
+ } | {
2390
+
2391
+ match: "objectValues"
2392
+
2393
+ pathPattern?: string
2394
+ })[]] | string)[]
2395
+
2396
+ entryPoint?: string
2397
+
2398
+ messageStyle?: ("visual" | "compact" | "raw")
2399
+
2400
+ tailwindConfig?: string
2401
+
2402
+ tsconfig?: string
2403
+
2404
+ detectComponentClasses?: boolean
2405
+
2406
+ rootFontSize?: number
2407
+
2408
+ cwd?: string
2409
+
2410
+ ignore?: string[]
2411
+ }]
2412
+ // ----- better-tailwindcss/enforce-shorthand-classes -----
2413
+ type BetterTailwindcssEnforceShorthandClasses = []|[{
2414
+
2415
+ selectors?: ({
2416
+
2417
+ kind: "attribute"
2418
+
2419
+ match?: ({
2420
+
2421
+ type: "strings"
2422
+ } | {
2423
+
2424
+ path?: string
2425
+
2426
+ type: "objectKeys"
2427
+ } | {
2428
+
2429
+ path?: string
2430
+
2431
+ type: "objectValues"
2432
+ } | {
2433
+
2434
+ match: ({
2435
+
2436
+ type: "strings"
2437
+ } | {
2438
+
2439
+ path?: string
2440
+
2441
+ type: "objectKeys"
2442
+ } | {
2443
+
2444
+ path?: string
2445
+
2446
+ type: "objectValues"
2447
+ })[]
2448
+
2449
+ type: "anonymousFunctionReturn"
2450
+ })[]
2451
+
2452
+ name: string
2453
+ } | ({
2454
+
2455
+ callTarget?: ("all" | "first" | "last" | number)
2456
+
2457
+ kind: "callee"
2458
+
2459
+ match?: ({
2460
+
2461
+ type: "strings"
2462
+ } | {
2463
+
2464
+ path?: string
2465
+
2466
+ type: "objectKeys"
2467
+ } | {
2468
+
2469
+ path?: string
2470
+
2471
+ type: "objectValues"
2472
+ } | {
2473
+
2474
+ match: ({
2475
+
2476
+ type: "strings"
2477
+ } | {
2478
+
2479
+ path?: string
2480
+
2481
+ type: "objectKeys"
2482
+ } | {
2483
+
2484
+ path?: string
2485
+
2486
+ type: "objectValues"
2487
+ })[]
2488
+
2489
+ type: "anonymousFunctionReturn"
2490
+ })[]
2491
+
2492
+ name: string
2493
+
2494
+ path?: string
2495
+
2496
+ targetArgument?: ("all" | "first" | "last" | number)
2497
+
2498
+ targetCall?: ("all" | "first" | "last" | number)
2499
+ } | {
2500
+
2501
+ callTarget?: ("all" | "first" | "last" | number)
2502
+
2503
+ kind: "callee"
2504
+
2505
+ match?: ({
2506
+
2507
+ type: "strings"
2508
+ } | {
2509
+
2510
+ path?: string
2511
+
2512
+ type: "objectKeys"
2513
+ } | {
2514
+
2515
+ path?: string
2516
+
2517
+ type: "objectValues"
2518
+ } | {
2519
+
2520
+ match: ({
2521
+
2522
+ type: "strings"
2523
+ } | {
2524
+
2525
+ path?: string
2526
+
2527
+ type: "objectKeys"
2528
+ } | {
2529
+
2530
+ path?: string
2531
+
2532
+ type: "objectValues"
2533
+ })[]
2534
+
2535
+ type: "anonymousFunctionReturn"
2536
+ })[]
2537
+
2538
+ name?: string
2539
+
2540
+ path: string
2541
+
2542
+ targetArgument?: ("all" | "first" | "last" | number)
2543
+
2544
+ targetCall?: ("all" | "first" | "last" | number)
2545
+ }) | ({
2546
+
2547
+ kind: "tag"
2548
+
2549
+ match?: ({
2550
+
2551
+ type: "strings"
2552
+ } | {
2553
+
2554
+ path?: string
2555
+
2556
+ type: "objectKeys"
2557
+ } | {
2558
+
2559
+ path?: string
2560
+
2561
+ type: "objectValues"
2562
+ } | {
2563
+
2564
+ match: ({
2565
+
2566
+ type: "strings"
2567
+ } | {
2568
+
2569
+ path?: string
2570
+
2571
+ type: "objectKeys"
2572
+ } | {
2573
+
2574
+ path?: string
2575
+
2576
+ type: "objectValues"
2577
+ })[]
2578
+
2579
+ type: "anonymousFunctionReturn"
2580
+ })[]
2581
+
2582
+ name: string
2583
+
2584
+ path?: string
2585
+ } | {
2586
+
2587
+ kind: "tag"
2588
+
2589
+ match?: ({
2590
+
2591
+ type: "strings"
2592
+ } | {
2593
+
2594
+ path?: string
2595
+
2596
+ type: "objectKeys"
2597
+ } | {
2598
+
2599
+ path?: string
2600
+
2601
+ type: "objectValues"
2602
+ } | {
2603
+
2604
+ match: ({
2605
+
2606
+ type: "strings"
2607
+ } | {
2608
+
2609
+ path?: string
2610
+
2611
+ type: "objectKeys"
2612
+ } | {
2613
+
2614
+ path?: string
2615
+
2616
+ type: "objectValues"
2617
+ })[]
2618
+
2619
+ type: "anonymousFunctionReturn"
2620
+ })[]
2621
+
2622
+ name?: string
2623
+
2624
+ path: string
2625
+ }) | {
2626
+
1125
2627
  kind: "variable"
1126
2628
 
1127
2629
  match?: ({
@@ -1137,6 +2639,24 @@ type BetterTailwindcssEnforceShorthandClasses = []|[{
1137
2639
  path?: string
1138
2640
 
1139
2641
  type: "objectValues"
2642
+ } | {
2643
+
2644
+ match: ({
2645
+
2646
+ type: "strings"
2647
+ } | {
2648
+
2649
+ path?: string
2650
+
2651
+ type: "objectKeys"
2652
+ } | {
2653
+
2654
+ path?: string
2655
+
2656
+ type: "objectValues"
2657
+ })[]
2658
+
2659
+ type: "anonymousFunctionReturn"
1140
2660
  })[]
1141
2661
 
1142
2662
  name: string
@@ -1213,6 +2733,8 @@ type BetterTailwindcssEnforceShorthandClasses = []|[{
1213
2733
  detectComponentClasses?: boolean
1214
2734
 
1215
2735
  rootFontSize?: number
2736
+
2737
+ cwd?: string
1216
2738
  }]
1217
2739
  // ----- better-tailwindcss/no-conflicting-classes -----
1218
2740
  type BetterTailwindcssNoConflictingClasses = []|[{
@@ -1234,6 +2756,24 @@ type BetterTailwindcssNoConflictingClasses = []|[{
1234
2756
  path?: string
1235
2757
 
1236
2758
  type: "objectValues"
2759
+ } | {
2760
+
2761
+ match: ({
2762
+
2763
+ type: "strings"
2764
+ } | {
2765
+
2766
+ path?: string
2767
+
2768
+ type: "objectKeys"
2769
+ } | {
2770
+
2771
+ path?: string
2772
+
2773
+ type: "objectValues"
2774
+ })[]
2775
+
2776
+ type: "anonymousFunctionReturn"
1237
2777
  })[]
1238
2778
 
1239
2779
  name: string
@@ -1256,11 +2796,33 @@ type BetterTailwindcssNoConflictingClasses = []|[{
1256
2796
  path?: string
1257
2797
 
1258
2798
  type: "objectValues"
2799
+ } | {
2800
+
2801
+ match: ({
2802
+
2803
+ type: "strings"
2804
+ } | {
2805
+
2806
+ path?: string
2807
+
2808
+ type: "objectKeys"
2809
+ } | {
2810
+
2811
+ path?: string
2812
+
2813
+ type: "objectValues"
2814
+ })[]
2815
+
2816
+ type: "anonymousFunctionReturn"
1259
2817
  })[]
1260
2818
 
1261
2819
  name: string
1262
2820
 
1263
2821
  path?: string
2822
+
2823
+ targetArgument?: ("all" | "first" | "last" | number)
2824
+
2825
+ targetCall?: ("all" | "first" | "last" | number)
1264
2826
  } | {
1265
2827
 
1266
2828
  callTarget?: ("all" | "first" | "last" | number)
@@ -1280,12 +2842,34 @@ type BetterTailwindcssNoConflictingClasses = []|[{
1280
2842
  path?: string
1281
2843
 
1282
2844
  type: "objectValues"
2845
+ } | {
2846
+
2847
+ match: ({
2848
+
2849
+ type: "strings"
2850
+ } | {
2851
+
2852
+ path?: string
2853
+
2854
+ type: "objectKeys"
2855
+ } | {
2856
+
2857
+ path?: string
2858
+
2859
+ type: "objectValues"
2860
+ })[]
2861
+
2862
+ type: "anonymousFunctionReturn"
1283
2863
  })[]
1284
2864
 
1285
2865
  name?: string
1286
2866
 
1287
2867
  path: string
1288
- }) | {
2868
+
2869
+ targetArgument?: ("all" | "first" | "last" | number)
2870
+
2871
+ targetCall?: ("all" | "first" | "last" | number)
2872
+ }) | ({
1289
2873
 
1290
2874
  kind: "tag"
1291
2875
 
@@ -1302,11 +2886,71 @@ type BetterTailwindcssNoConflictingClasses = []|[{
1302
2886
  path?: string
1303
2887
 
1304
2888
  type: "objectValues"
2889
+ } | {
2890
+
2891
+ match: ({
2892
+
2893
+ type: "strings"
2894
+ } | {
2895
+
2896
+ path?: string
2897
+
2898
+ type: "objectKeys"
2899
+ } | {
2900
+
2901
+ path?: string
2902
+
2903
+ type: "objectValues"
2904
+ })[]
2905
+
2906
+ type: "anonymousFunctionReturn"
1305
2907
  })[]
1306
2908
 
1307
2909
  name: string
2910
+
2911
+ path?: string
1308
2912
  } | {
1309
2913
 
2914
+ kind: "tag"
2915
+
2916
+ match?: ({
2917
+
2918
+ type: "strings"
2919
+ } | {
2920
+
2921
+ path?: string
2922
+
2923
+ type: "objectKeys"
2924
+ } | {
2925
+
2926
+ path?: string
2927
+
2928
+ type: "objectValues"
2929
+ } | {
2930
+
2931
+ match: ({
2932
+
2933
+ type: "strings"
2934
+ } | {
2935
+
2936
+ path?: string
2937
+
2938
+ type: "objectKeys"
2939
+ } | {
2940
+
2941
+ path?: string
2942
+
2943
+ type: "objectValues"
2944
+ })[]
2945
+
2946
+ type: "anonymousFunctionReturn"
2947
+ })[]
2948
+
2949
+ name?: string
2950
+
2951
+ path: string
2952
+ }) | {
2953
+
1310
2954
  kind: "variable"
1311
2955
 
1312
2956
  match?: ({
@@ -1322,6 +2966,24 @@ type BetterTailwindcssNoConflictingClasses = []|[{
1322
2966
  path?: string
1323
2967
 
1324
2968
  type: "objectValues"
2969
+ } | {
2970
+
2971
+ match: ({
2972
+
2973
+ type: "strings"
2974
+ } | {
2975
+
2976
+ path?: string
2977
+
2978
+ type: "objectKeys"
2979
+ } | {
2980
+
2981
+ path?: string
2982
+
2983
+ type: "objectValues"
2984
+ })[]
2985
+
2986
+ type: "anonymousFunctionReturn"
1325
2987
  })[]
1326
2988
 
1327
2989
  name: string
@@ -1398,6 +3060,8 @@ type BetterTailwindcssNoConflictingClasses = []|[{
1398
3060
  detectComponentClasses?: boolean
1399
3061
 
1400
3062
  rootFontSize?: number
3063
+
3064
+ cwd?: string
1401
3065
  }]
1402
3066
  // ----- better-tailwindcss/no-deprecated-classes -----
1403
3067
  type BetterTailwindcssNoDeprecatedClasses = []|[{
@@ -1419,6 +3083,24 @@ type BetterTailwindcssNoDeprecatedClasses = []|[{
1419
3083
  path?: string
1420
3084
 
1421
3085
  type: "objectValues"
3086
+ } | {
3087
+
3088
+ match: ({
3089
+
3090
+ type: "strings"
3091
+ } | {
3092
+
3093
+ path?: string
3094
+
3095
+ type: "objectKeys"
3096
+ } | {
3097
+
3098
+ path?: string
3099
+
3100
+ type: "objectValues"
3101
+ })[]
3102
+
3103
+ type: "anonymousFunctionReturn"
1422
3104
  })[]
1423
3105
 
1424
3106
  name: string
@@ -1441,11 +3123,33 @@ type BetterTailwindcssNoDeprecatedClasses = []|[{
1441
3123
  path?: string
1442
3124
 
1443
3125
  type: "objectValues"
3126
+ } | {
3127
+
3128
+ match: ({
3129
+
3130
+ type: "strings"
3131
+ } | {
3132
+
3133
+ path?: string
3134
+
3135
+ type: "objectKeys"
3136
+ } | {
3137
+
3138
+ path?: string
3139
+
3140
+ type: "objectValues"
3141
+ })[]
3142
+
3143
+ type: "anonymousFunctionReturn"
1444
3144
  })[]
1445
3145
 
1446
3146
  name: string
1447
3147
 
1448
3148
  path?: string
3149
+
3150
+ targetArgument?: ("all" | "first" | "last" | number)
3151
+
3152
+ targetCall?: ("all" | "first" | "last" | number)
1449
3153
  } | {
1450
3154
 
1451
3155
  callTarget?: ("all" | "first" | "last" | number)
@@ -1465,12 +3169,34 @@ type BetterTailwindcssNoDeprecatedClasses = []|[{
1465
3169
  path?: string
1466
3170
 
1467
3171
  type: "objectValues"
3172
+ } | {
3173
+
3174
+ match: ({
3175
+
3176
+ type: "strings"
3177
+ } | {
3178
+
3179
+ path?: string
3180
+
3181
+ type: "objectKeys"
3182
+ } | {
3183
+
3184
+ path?: string
3185
+
3186
+ type: "objectValues"
3187
+ })[]
3188
+
3189
+ type: "anonymousFunctionReturn"
1468
3190
  })[]
1469
3191
 
1470
3192
  name?: string
1471
3193
 
1472
3194
  path: string
1473
- }) | {
3195
+
3196
+ targetArgument?: ("all" | "first" | "last" | number)
3197
+
3198
+ targetCall?: ("all" | "first" | "last" | number)
3199
+ }) | ({
1474
3200
 
1475
3201
  kind: "tag"
1476
3202
 
@@ -1487,11 +3213,71 @@ type BetterTailwindcssNoDeprecatedClasses = []|[{
1487
3213
  path?: string
1488
3214
 
1489
3215
  type: "objectValues"
3216
+ } | {
3217
+
3218
+ match: ({
3219
+
3220
+ type: "strings"
3221
+ } | {
3222
+
3223
+ path?: string
3224
+
3225
+ type: "objectKeys"
3226
+ } | {
3227
+
3228
+ path?: string
3229
+
3230
+ type: "objectValues"
3231
+ })[]
3232
+
3233
+ type: "anonymousFunctionReturn"
1490
3234
  })[]
1491
3235
 
1492
3236
  name: string
3237
+
3238
+ path?: string
1493
3239
  } | {
1494
3240
 
3241
+ kind: "tag"
3242
+
3243
+ match?: ({
3244
+
3245
+ type: "strings"
3246
+ } | {
3247
+
3248
+ path?: string
3249
+
3250
+ type: "objectKeys"
3251
+ } | {
3252
+
3253
+ path?: string
3254
+
3255
+ type: "objectValues"
3256
+ } | {
3257
+
3258
+ match: ({
3259
+
3260
+ type: "strings"
3261
+ } | {
3262
+
3263
+ path?: string
3264
+
3265
+ type: "objectKeys"
3266
+ } | {
3267
+
3268
+ path?: string
3269
+
3270
+ type: "objectValues"
3271
+ })[]
3272
+
3273
+ type: "anonymousFunctionReturn"
3274
+ })[]
3275
+
3276
+ name?: string
3277
+
3278
+ path: string
3279
+ }) | {
3280
+
1495
3281
  kind: "variable"
1496
3282
 
1497
3283
  match?: ({
@@ -1507,6 +3293,24 @@ type BetterTailwindcssNoDeprecatedClasses = []|[{
1507
3293
  path?: string
1508
3294
 
1509
3295
  type: "objectValues"
3296
+ } | {
3297
+
3298
+ match: ({
3299
+
3300
+ type: "strings"
3301
+ } | {
3302
+
3303
+ path?: string
3304
+
3305
+ type: "objectKeys"
3306
+ } | {
3307
+
3308
+ path?: string
3309
+
3310
+ type: "objectValues"
3311
+ })[]
3312
+
3313
+ type: "anonymousFunctionReturn"
1510
3314
  })[]
1511
3315
 
1512
3316
  name: string
@@ -1583,6 +3387,8 @@ type BetterTailwindcssNoDeprecatedClasses = []|[{
1583
3387
  detectComponentClasses?: boolean
1584
3388
 
1585
3389
  rootFontSize?: number
3390
+
3391
+ cwd?: string
1586
3392
  }]
1587
3393
  // ----- better-tailwindcss/no-duplicate-classes -----
1588
3394
  type BetterTailwindcssNoDuplicateClasses = []|[{
@@ -1604,6 +3410,24 @@ type BetterTailwindcssNoDuplicateClasses = []|[{
1604
3410
  path?: string
1605
3411
 
1606
3412
  type: "objectValues"
3413
+ } | {
3414
+
3415
+ match: ({
3416
+
3417
+ type: "strings"
3418
+ } | {
3419
+
3420
+ path?: string
3421
+
3422
+ type: "objectKeys"
3423
+ } | {
3424
+
3425
+ path?: string
3426
+
3427
+ type: "objectValues"
3428
+ })[]
3429
+
3430
+ type: "anonymousFunctionReturn"
1607
3431
  })[]
1608
3432
 
1609
3433
  name: string
@@ -1626,11 +3450,33 @@ type BetterTailwindcssNoDuplicateClasses = []|[{
1626
3450
  path?: string
1627
3451
 
1628
3452
  type: "objectValues"
3453
+ } | {
3454
+
3455
+ match: ({
3456
+
3457
+ type: "strings"
3458
+ } | {
3459
+
3460
+ path?: string
3461
+
3462
+ type: "objectKeys"
3463
+ } | {
3464
+
3465
+ path?: string
3466
+
3467
+ type: "objectValues"
3468
+ })[]
3469
+
3470
+ type: "anonymousFunctionReturn"
1629
3471
  })[]
1630
3472
 
1631
3473
  name: string
1632
3474
 
1633
3475
  path?: string
3476
+
3477
+ targetArgument?: ("all" | "first" | "last" | number)
3478
+
3479
+ targetCall?: ("all" | "first" | "last" | number)
1634
3480
  } | {
1635
3481
 
1636
3482
  callTarget?: ("all" | "first" | "last" | number)
@@ -1650,12 +3496,34 @@ type BetterTailwindcssNoDuplicateClasses = []|[{
1650
3496
  path?: string
1651
3497
 
1652
3498
  type: "objectValues"
3499
+ } | {
3500
+
3501
+ match: ({
3502
+
3503
+ type: "strings"
3504
+ } | {
3505
+
3506
+ path?: string
3507
+
3508
+ type: "objectKeys"
3509
+ } | {
3510
+
3511
+ path?: string
3512
+
3513
+ type: "objectValues"
3514
+ })[]
3515
+
3516
+ type: "anonymousFunctionReturn"
1653
3517
  })[]
1654
3518
 
1655
3519
  name?: string
1656
3520
 
1657
3521
  path: string
1658
- }) | {
3522
+
3523
+ targetArgument?: ("all" | "first" | "last" | number)
3524
+
3525
+ targetCall?: ("all" | "first" | "last" | number)
3526
+ }) | ({
1659
3527
 
1660
3528
  kind: "tag"
1661
3529
 
@@ -1672,11 +3540,71 @@ type BetterTailwindcssNoDuplicateClasses = []|[{
1672
3540
  path?: string
1673
3541
 
1674
3542
  type: "objectValues"
3543
+ } | {
3544
+
3545
+ match: ({
3546
+
3547
+ type: "strings"
3548
+ } | {
3549
+
3550
+ path?: string
3551
+
3552
+ type: "objectKeys"
3553
+ } | {
3554
+
3555
+ path?: string
3556
+
3557
+ type: "objectValues"
3558
+ })[]
3559
+
3560
+ type: "anonymousFunctionReturn"
1675
3561
  })[]
1676
3562
 
1677
3563
  name: string
3564
+
3565
+ path?: string
1678
3566
  } | {
1679
3567
 
3568
+ kind: "tag"
3569
+
3570
+ match?: ({
3571
+
3572
+ type: "strings"
3573
+ } | {
3574
+
3575
+ path?: string
3576
+
3577
+ type: "objectKeys"
3578
+ } | {
3579
+
3580
+ path?: string
3581
+
3582
+ type: "objectValues"
3583
+ } | {
3584
+
3585
+ match: ({
3586
+
3587
+ type: "strings"
3588
+ } | {
3589
+
3590
+ path?: string
3591
+
3592
+ type: "objectKeys"
3593
+ } | {
3594
+
3595
+ path?: string
3596
+
3597
+ type: "objectValues"
3598
+ })[]
3599
+
3600
+ type: "anonymousFunctionReturn"
3601
+ })[]
3602
+
3603
+ name?: string
3604
+
3605
+ path: string
3606
+ }) | {
3607
+
1680
3608
  kind: "variable"
1681
3609
 
1682
3610
  match?: ({
@@ -1692,6 +3620,24 @@ type BetterTailwindcssNoDuplicateClasses = []|[{
1692
3620
  path?: string
1693
3621
 
1694
3622
  type: "objectValues"
3623
+ } | {
3624
+
3625
+ match: ({
3626
+
3627
+ type: "strings"
3628
+ } | {
3629
+
3630
+ path?: string
3631
+
3632
+ type: "objectKeys"
3633
+ } | {
3634
+
3635
+ path?: string
3636
+
3637
+ type: "objectValues"
3638
+ })[]
3639
+
3640
+ type: "anonymousFunctionReturn"
1695
3641
  })[]
1696
3642
 
1697
3643
  name: string
@@ -1768,6 +3714,8 @@ type BetterTailwindcssNoDuplicateClasses = []|[{
1768
3714
  detectComponentClasses?: boolean
1769
3715
 
1770
3716
  rootFontSize?: number
3717
+
3718
+ cwd?: string
1771
3719
  }]
1772
3720
  // ----- better-tailwindcss/no-restricted-classes -----
1773
3721
  type BetterTailwindcssNoRestrictedClasses = []|[{
@@ -1789,6 +3737,24 @@ type BetterTailwindcssNoRestrictedClasses = []|[{
1789
3737
  path?: string
1790
3738
 
1791
3739
  type: "objectValues"
3740
+ } | {
3741
+
3742
+ match: ({
3743
+
3744
+ type: "strings"
3745
+ } | {
3746
+
3747
+ path?: string
3748
+
3749
+ type: "objectKeys"
3750
+ } | {
3751
+
3752
+ path?: string
3753
+
3754
+ type: "objectValues"
3755
+ })[]
3756
+
3757
+ type: "anonymousFunctionReturn"
1792
3758
  })[]
1793
3759
 
1794
3760
  name: string
@@ -1811,11 +3777,33 @@ type BetterTailwindcssNoRestrictedClasses = []|[{
1811
3777
  path?: string
1812
3778
 
1813
3779
  type: "objectValues"
3780
+ } | {
3781
+
3782
+ match: ({
3783
+
3784
+ type: "strings"
3785
+ } | {
3786
+
3787
+ path?: string
3788
+
3789
+ type: "objectKeys"
3790
+ } | {
3791
+
3792
+ path?: string
3793
+
3794
+ type: "objectValues"
3795
+ })[]
3796
+
3797
+ type: "anonymousFunctionReturn"
1814
3798
  })[]
1815
3799
 
1816
3800
  name: string
1817
3801
 
1818
3802
  path?: string
3803
+
3804
+ targetArgument?: ("all" | "first" | "last" | number)
3805
+
3806
+ targetCall?: ("all" | "first" | "last" | number)
1819
3807
  } | {
1820
3808
 
1821
3809
  callTarget?: ("all" | "first" | "last" | number)
@@ -1835,12 +3823,34 @@ type BetterTailwindcssNoRestrictedClasses = []|[{
1835
3823
  path?: string
1836
3824
 
1837
3825
  type: "objectValues"
3826
+ } | {
3827
+
3828
+ match: ({
3829
+
3830
+ type: "strings"
3831
+ } | {
3832
+
3833
+ path?: string
3834
+
3835
+ type: "objectKeys"
3836
+ } | {
3837
+
3838
+ path?: string
3839
+
3840
+ type: "objectValues"
3841
+ })[]
3842
+
3843
+ type: "anonymousFunctionReturn"
1838
3844
  })[]
1839
3845
 
1840
3846
  name?: string
1841
3847
 
1842
3848
  path: string
1843
- }) | {
3849
+
3850
+ targetArgument?: ("all" | "first" | "last" | number)
3851
+
3852
+ targetCall?: ("all" | "first" | "last" | number)
3853
+ }) | ({
1844
3854
 
1845
3855
  kind: "tag"
1846
3856
 
@@ -1857,11 +3867,71 @@ type BetterTailwindcssNoRestrictedClasses = []|[{
1857
3867
  path?: string
1858
3868
 
1859
3869
  type: "objectValues"
3870
+ } | {
3871
+
3872
+ match: ({
3873
+
3874
+ type: "strings"
3875
+ } | {
3876
+
3877
+ path?: string
3878
+
3879
+ type: "objectKeys"
3880
+ } | {
3881
+
3882
+ path?: string
3883
+
3884
+ type: "objectValues"
3885
+ })[]
3886
+
3887
+ type: "anonymousFunctionReturn"
1860
3888
  })[]
1861
3889
 
1862
3890
  name: string
3891
+
3892
+ path?: string
1863
3893
  } | {
1864
3894
 
3895
+ kind: "tag"
3896
+
3897
+ match?: ({
3898
+
3899
+ type: "strings"
3900
+ } | {
3901
+
3902
+ path?: string
3903
+
3904
+ type: "objectKeys"
3905
+ } | {
3906
+
3907
+ path?: string
3908
+
3909
+ type: "objectValues"
3910
+ } | {
3911
+
3912
+ match: ({
3913
+
3914
+ type: "strings"
3915
+ } | {
3916
+
3917
+ path?: string
3918
+
3919
+ type: "objectKeys"
3920
+ } | {
3921
+
3922
+ path?: string
3923
+
3924
+ type: "objectValues"
3925
+ })[]
3926
+
3927
+ type: "anonymousFunctionReturn"
3928
+ })[]
3929
+
3930
+ name?: string
3931
+
3932
+ path: string
3933
+ }) | {
3934
+
1865
3935
  kind: "variable"
1866
3936
 
1867
3937
  match?: ({
@@ -1877,6 +3947,24 @@ type BetterTailwindcssNoRestrictedClasses = []|[{
1877
3947
  path?: string
1878
3948
 
1879
3949
  type: "objectValues"
3950
+ } | {
3951
+
3952
+ match: ({
3953
+
3954
+ type: "strings"
3955
+ } | {
3956
+
3957
+ path?: string
3958
+
3959
+ type: "objectKeys"
3960
+ } | {
3961
+
3962
+ path?: string
3963
+
3964
+ type: "objectValues"
3965
+ })[]
3966
+
3967
+ type: "anonymousFunctionReturn"
1880
3968
  })[]
1881
3969
 
1882
3970
  name: string
@@ -1953,6 +4041,8 @@ type BetterTailwindcssNoRestrictedClasses = []|[{
1953
4041
  detectComponentClasses?: boolean
1954
4042
 
1955
4043
  rootFontSize?: number
4044
+
4045
+ cwd?: string
1956
4046
  restrict?: ({
1957
4047
 
1958
4048
  fix?: string
@@ -1982,6 +4072,24 @@ type BetterTailwindcssNoUnknownClasses = []|[{
1982
4072
  path?: string
1983
4073
 
1984
4074
  type: "objectValues"
4075
+ } | {
4076
+
4077
+ match: ({
4078
+
4079
+ type: "strings"
4080
+ } | {
4081
+
4082
+ path?: string
4083
+
4084
+ type: "objectKeys"
4085
+ } | {
4086
+
4087
+ path?: string
4088
+
4089
+ type: "objectValues"
4090
+ })[]
4091
+
4092
+ type: "anonymousFunctionReturn"
1985
4093
  })[]
1986
4094
 
1987
4095
  name: string
@@ -2004,11 +4112,33 @@ type BetterTailwindcssNoUnknownClasses = []|[{
2004
4112
  path?: string
2005
4113
 
2006
4114
  type: "objectValues"
4115
+ } | {
4116
+
4117
+ match: ({
4118
+
4119
+ type: "strings"
4120
+ } | {
4121
+
4122
+ path?: string
4123
+
4124
+ type: "objectKeys"
4125
+ } | {
4126
+
4127
+ path?: string
4128
+
4129
+ type: "objectValues"
4130
+ })[]
4131
+
4132
+ type: "anonymousFunctionReturn"
2007
4133
  })[]
2008
4134
 
2009
4135
  name: string
2010
4136
 
2011
4137
  path?: string
4138
+
4139
+ targetArgument?: ("all" | "first" | "last" | number)
4140
+
4141
+ targetCall?: ("all" | "first" | "last" | number)
2012
4142
  } | {
2013
4143
 
2014
4144
  callTarget?: ("all" | "first" | "last" | number)
@@ -2028,12 +4158,34 @@ type BetterTailwindcssNoUnknownClasses = []|[{
2028
4158
  path?: string
2029
4159
 
2030
4160
  type: "objectValues"
4161
+ } | {
4162
+
4163
+ match: ({
4164
+
4165
+ type: "strings"
4166
+ } | {
4167
+
4168
+ path?: string
4169
+
4170
+ type: "objectKeys"
4171
+ } | {
4172
+
4173
+ path?: string
4174
+
4175
+ type: "objectValues"
4176
+ })[]
4177
+
4178
+ type: "anonymousFunctionReturn"
2031
4179
  })[]
2032
4180
 
2033
4181
  name?: string
2034
4182
 
2035
4183
  path: string
2036
- }) | {
4184
+
4185
+ targetArgument?: ("all" | "first" | "last" | number)
4186
+
4187
+ targetCall?: ("all" | "first" | "last" | number)
4188
+ }) | ({
2037
4189
 
2038
4190
  kind: "tag"
2039
4191
 
@@ -2050,11 +4202,71 @@ type BetterTailwindcssNoUnknownClasses = []|[{
2050
4202
  path?: string
2051
4203
 
2052
4204
  type: "objectValues"
4205
+ } | {
4206
+
4207
+ match: ({
4208
+
4209
+ type: "strings"
4210
+ } | {
4211
+
4212
+ path?: string
4213
+
4214
+ type: "objectKeys"
4215
+ } | {
4216
+
4217
+ path?: string
4218
+
4219
+ type: "objectValues"
4220
+ })[]
4221
+
4222
+ type: "anonymousFunctionReturn"
2053
4223
  })[]
2054
4224
 
2055
4225
  name: string
4226
+
4227
+ path?: string
2056
4228
  } | {
2057
4229
 
4230
+ kind: "tag"
4231
+
4232
+ match?: ({
4233
+
4234
+ type: "strings"
4235
+ } | {
4236
+
4237
+ path?: string
4238
+
4239
+ type: "objectKeys"
4240
+ } | {
4241
+
4242
+ path?: string
4243
+
4244
+ type: "objectValues"
4245
+ } | {
4246
+
4247
+ match: ({
4248
+
4249
+ type: "strings"
4250
+ } | {
4251
+
4252
+ path?: string
4253
+
4254
+ type: "objectKeys"
4255
+ } | {
4256
+
4257
+ path?: string
4258
+
4259
+ type: "objectValues"
4260
+ })[]
4261
+
4262
+ type: "anonymousFunctionReturn"
4263
+ })[]
4264
+
4265
+ name?: string
4266
+
4267
+ path: string
4268
+ }) | {
4269
+
2058
4270
  kind: "variable"
2059
4271
 
2060
4272
  match?: ({
@@ -2070,6 +4282,24 @@ type BetterTailwindcssNoUnknownClasses = []|[{
2070
4282
  path?: string
2071
4283
 
2072
4284
  type: "objectValues"
4285
+ } | {
4286
+
4287
+ match: ({
4288
+
4289
+ type: "strings"
4290
+ } | {
4291
+
4292
+ path?: string
4293
+
4294
+ type: "objectKeys"
4295
+ } | {
4296
+
4297
+ path?: string
4298
+
4299
+ type: "objectValues"
4300
+ })[]
4301
+
4302
+ type: "anonymousFunctionReturn"
2073
4303
  })[]
2074
4304
 
2075
4305
  name: string
@@ -2147,6 +4377,8 @@ type BetterTailwindcssNoUnknownClasses = []|[{
2147
4377
 
2148
4378
  rootFontSize?: number
2149
4379
 
4380
+ cwd?: string
4381
+
2150
4382
  ignore?: string[]
2151
4383
  }]
2152
4384
  // ----- better-tailwindcss/no-unnecessary-whitespace -----
@@ -2169,6 +4401,24 @@ type BetterTailwindcssNoUnnecessaryWhitespace = []|[{
2169
4401
  path?: string
2170
4402
 
2171
4403
  type: "objectValues"
4404
+ } | {
4405
+
4406
+ match: ({
4407
+
4408
+ type: "strings"
4409
+ } | {
4410
+
4411
+ path?: string
4412
+
4413
+ type: "objectKeys"
4414
+ } | {
4415
+
4416
+ path?: string
4417
+
4418
+ type: "objectValues"
4419
+ })[]
4420
+
4421
+ type: "anonymousFunctionReturn"
2172
4422
  })[]
2173
4423
 
2174
4424
  name: string
@@ -2191,11 +4441,33 @@ type BetterTailwindcssNoUnnecessaryWhitespace = []|[{
2191
4441
  path?: string
2192
4442
 
2193
4443
  type: "objectValues"
4444
+ } | {
4445
+
4446
+ match: ({
4447
+
4448
+ type: "strings"
4449
+ } | {
4450
+
4451
+ path?: string
4452
+
4453
+ type: "objectKeys"
4454
+ } | {
4455
+
4456
+ path?: string
4457
+
4458
+ type: "objectValues"
4459
+ })[]
4460
+
4461
+ type: "anonymousFunctionReturn"
2194
4462
  })[]
2195
4463
 
2196
4464
  name: string
2197
4465
 
2198
4466
  path?: string
4467
+
4468
+ targetArgument?: ("all" | "first" | "last" | number)
4469
+
4470
+ targetCall?: ("all" | "first" | "last" | number)
2199
4471
  } | {
2200
4472
 
2201
4473
  callTarget?: ("all" | "first" | "last" | number)
@@ -2215,12 +4487,34 @@ type BetterTailwindcssNoUnnecessaryWhitespace = []|[{
2215
4487
  path?: string
2216
4488
 
2217
4489
  type: "objectValues"
4490
+ } | {
4491
+
4492
+ match: ({
4493
+
4494
+ type: "strings"
4495
+ } | {
4496
+
4497
+ path?: string
4498
+
4499
+ type: "objectKeys"
4500
+ } | {
4501
+
4502
+ path?: string
4503
+
4504
+ type: "objectValues"
4505
+ })[]
4506
+
4507
+ type: "anonymousFunctionReturn"
2218
4508
  })[]
2219
4509
 
2220
4510
  name?: string
2221
4511
 
2222
4512
  path: string
2223
- }) | {
4513
+
4514
+ targetArgument?: ("all" | "first" | "last" | number)
4515
+
4516
+ targetCall?: ("all" | "first" | "last" | number)
4517
+ }) | ({
2224
4518
 
2225
4519
  kind: "tag"
2226
4520
 
@@ -2237,11 +4531,71 @@ type BetterTailwindcssNoUnnecessaryWhitespace = []|[{
2237
4531
  path?: string
2238
4532
 
2239
4533
  type: "objectValues"
4534
+ } | {
4535
+
4536
+ match: ({
4537
+
4538
+ type: "strings"
4539
+ } | {
4540
+
4541
+ path?: string
4542
+
4543
+ type: "objectKeys"
4544
+ } | {
4545
+
4546
+ path?: string
4547
+
4548
+ type: "objectValues"
4549
+ })[]
4550
+
4551
+ type: "anonymousFunctionReturn"
2240
4552
  })[]
2241
4553
 
2242
4554
  name: string
4555
+
4556
+ path?: string
2243
4557
  } | {
2244
4558
 
4559
+ kind: "tag"
4560
+
4561
+ match?: ({
4562
+
4563
+ type: "strings"
4564
+ } | {
4565
+
4566
+ path?: string
4567
+
4568
+ type: "objectKeys"
4569
+ } | {
4570
+
4571
+ path?: string
4572
+
4573
+ type: "objectValues"
4574
+ } | {
4575
+
4576
+ match: ({
4577
+
4578
+ type: "strings"
4579
+ } | {
4580
+
4581
+ path?: string
4582
+
4583
+ type: "objectKeys"
4584
+ } | {
4585
+
4586
+ path?: string
4587
+
4588
+ type: "objectValues"
4589
+ })[]
4590
+
4591
+ type: "anonymousFunctionReturn"
4592
+ })[]
4593
+
4594
+ name?: string
4595
+
4596
+ path: string
4597
+ }) | {
4598
+
2245
4599
  kind: "variable"
2246
4600
 
2247
4601
  match?: ({
@@ -2257,6 +4611,24 @@ type BetterTailwindcssNoUnnecessaryWhitespace = []|[{
2257
4611
  path?: string
2258
4612
 
2259
4613
  type: "objectValues"
4614
+ } | {
4615
+
4616
+ match: ({
4617
+
4618
+ type: "strings"
4619
+ } | {
4620
+
4621
+ path?: string
4622
+
4623
+ type: "objectKeys"
4624
+ } | {
4625
+
4626
+ path?: string
4627
+
4628
+ type: "objectValues"
4629
+ })[]
4630
+
4631
+ type: "anonymousFunctionReturn"
2260
4632
  })[]
2261
4633
 
2262
4634
  name: string
@@ -2334,5 +4706,7 @@ type BetterTailwindcssNoUnnecessaryWhitespace = []|[{
2334
4706
 
2335
4707
  rootFontSize?: number
2336
4708
 
4709
+ cwd?: string
4710
+
2337
4711
  allowMultiline?: boolean
2338
4712
  }]