@eslint-react/eslint-plugin 2.0.0-next.190 → 2.0.0-next.192

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -142,6 +142,8 @@ export default defineConfig([
142
142
  Disable rules in the `web-api` preset.
143
143
  - `disable-type-checked`\
144
144
  Disable rules that require type information.
145
+ - `disable-conflict-eslint-plugin-react`\
146
+ Disable rules in `eslint-plugin-react` that conflict with rules in our plugins.
145
147
  - `off`\
146
148
  Disable all rules in this plugin except for debug rules.
147
149
 
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as _eslint_react_kit17 from "@eslint-react/kit";
1
+ import * as _eslint_react_kit4 from "@eslint-react/kit";
2
2
  import { RuleConfig } from "@eslint-react/kit";
3
3
 
4
4
  //#region src/configs/all.d.ts
@@ -100,18 +100,14 @@ declare const plugins$6: {
100
100
  plugins: {};
101
101
  name?: string;
102
102
  rules?: Record<string, RuleConfig>;
103
- settings?: _eslint_react_kit17.SettingsConfig;
104
- };
105
- "all-legacy": {
106
- plugins: string[];
107
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
103
+ settings?: _eslint_react_kit4.SettingsConfig;
108
104
  };
109
105
  };
110
106
  meta: {
111
107
  name: string;
112
108
  version: string;
113
109
  };
114
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
110
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
115
111
  };
116
112
  "@eslint-react/hooks-extra": {
117
113
  configs: {
@@ -119,18 +115,14 @@ declare const plugins$6: {
119
115
  plugins: {};
120
116
  name?: string;
121
117
  rules?: Record<string, RuleConfig>;
122
- settings?: _eslint_react_kit17.SettingsConfig;
123
- };
124
- "recommended-legacy": {
125
- plugins: string[];
126
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
118
+ settings?: _eslint_react_kit4.SettingsConfig;
127
119
  };
128
120
  };
129
121
  meta: {
130
122
  name: string;
131
123
  version: string;
132
124
  };
133
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
125
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
134
126
  };
135
127
  "@eslint-react/naming-convention": {
136
128
  configs: {
@@ -138,18 +130,14 @@ declare const plugins$6: {
138
130
  plugins: {};
139
131
  name?: string;
140
132
  rules?: Record<string, RuleConfig>;
141
- settings?: _eslint_react_kit17.SettingsConfig;
142
- };
143
- "recommended-legacy": {
144
- plugins: string[];
145
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
133
+ settings?: _eslint_react_kit4.SettingsConfig;
146
134
  };
147
135
  };
148
136
  meta: {
149
137
  name: string;
150
138
  version: string;
151
139
  };
152
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
140
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
153
141
  };
154
142
  "@eslint-react/web-api": {
155
143
  configs: {
@@ -157,18 +145,14 @@ declare const plugins$6: {
157
145
  plugins: {};
158
146
  name?: string;
159
147
  rules?: Record<string, RuleConfig>;
160
- settings?: _eslint_react_kit17.SettingsConfig;
161
- };
162
- "recommended-legacy": {
163
- plugins: string[];
164
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
148
+ settings?: _eslint_react_kit4.SettingsConfig;
165
149
  };
166
150
  };
167
151
  meta: {
168
152
  name: string;
169
153
  version: string;
170
154
  };
171
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
155
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
172
156
  };
173
157
  "@eslint-react/dom": {
174
158
  configs: {
@@ -176,18 +160,14 @@ declare const plugins$6: {
176
160
  plugins: {};
177
161
  name?: string;
178
162
  rules?: Record<string, RuleConfig>;
179
- settings?: _eslint_react_kit17.SettingsConfig;
180
- };
181
- "recommended-legacy": {
182
- plugins: string[];
183
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
163
+ settings?: _eslint_react_kit4.SettingsConfig;
184
164
  };
185
165
  };
186
166
  meta: {
187
167
  name: string;
188
168
  version: string;
189
169
  };
190
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
170
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
191
171
  };
192
172
  "@eslint-react": {
193
173
  configs: {
@@ -195,38 +175,26 @@ declare const plugins$6: {
195
175
  plugins: {};
196
176
  name?: string;
197
177
  rules?: Record<string, RuleConfig>;
198
- settings?: _eslint_react_kit17.SettingsConfig;
199
- };
200
- "recommended-legacy": {
201
- plugins: string[];
202
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
178
+ settings?: _eslint_react_kit4.SettingsConfig;
203
179
  };
204
180
  "recommended-type-checked": {
205
181
  plugins: {};
206
182
  name?: string;
207
183
  rules?: Record<string, RuleConfig>;
208
- settings?: _eslint_react_kit17.SettingsConfig;
209
- };
210
- "recommended-type-checked-legacy": {
211
- plugins: string[];
212
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
184
+ settings?: _eslint_react_kit4.SettingsConfig;
213
185
  };
214
186
  "recommended-typescript": {
215
187
  plugins: {};
216
188
  name?: string;
217
189
  rules?: Record<string, RuleConfig>;
218
- settings?: _eslint_react_kit17.SettingsConfig;
219
- };
220
- "recommended-typescript-legacy": {
221
- plugins: string[];
222
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
190
+ settings?: _eslint_react_kit4.SettingsConfig;
223
191
  };
224
192
  };
225
193
  meta: {
226
194
  name: string;
227
195
  version: string;
228
196
  };
229
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
197
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
230
198
  };
231
199
  };
232
200
  declare const settings$5: {
@@ -254,18 +222,14 @@ declare const plugins$5: {
254
222
  plugins: {};
255
223
  name?: string;
256
224
  rules?: Record<string, RuleConfig>;
257
- settings?: _eslint_react_kit17.SettingsConfig;
258
- };
259
- "all-legacy": {
260
- plugins: string[];
261
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
225
+ settings?: _eslint_react_kit4.SettingsConfig;
262
226
  };
263
227
  };
264
228
  meta: {
265
229
  name: string;
266
230
  version: string;
267
231
  };
268
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
232
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
269
233
  };
270
234
  };
271
235
  declare namespace disable_conflict_eslint_plugin_react_d_exports {
@@ -321,18 +285,14 @@ declare const plugins$4: {
321
285
  plugins: {};
322
286
  name?: string;
323
287
  rules?: Record<string, RuleConfig>;
324
- settings?: _eslint_react_kit17.SettingsConfig;
325
- };
326
- "recommended-legacy": {
327
- plugins: string[];
328
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
288
+ settings?: _eslint_react_kit4.SettingsConfig;
329
289
  };
330
290
  };
331
291
  meta: {
332
292
  name: string;
333
293
  version: string;
334
294
  };
335
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
295
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
336
296
  };
337
297
  };
338
298
  declare const settings$4: {
@@ -422,18 +382,14 @@ declare const plugins$3: {
422
382
  plugins: {};
423
383
  name?: string;
424
384
  rules?: Record<string, RuleConfig>;
425
- settings?: _eslint_react_kit17.SettingsConfig;
426
- };
427
- "all-legacy": {
428
- plugins: string[];
429
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
385
+ settings?: _eslint_react_kit4.SettingsConfig;
430
386
  };
431
387
  };
432
388
  meta: {
433
389
  name: string;
434
390
  version: string;
435
391
  };
436
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
392
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
437
393
  };
438
394
  "@eslint-react/hooks-extra": {
439
395
  configs: {
@@ -441,18 +397,14 @@ declare const plugins$3: {
441
397
  plugins: {};
442
398
  name?: string;
443
399
  rules?: Record<string, RuleConfig>;
444
- settings?: _eslint_react_kit17.SettingsConfig;
445
- };
446
- "recommended-legacy": {
447
- plugins: string[];
448
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
400
+ settings?: _eslint_react_kit4.SettingsConfig;
449
401
  };
450
402
  };
451
403
  meta: {
452
404
  name: string;
453
405
  version: string;
454
406
  };
455
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
407
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
456
408
  };
457
409
  "@eslint-react/naming-convention": {
458
410
  configs: {
@@ -460,18 +412,14 @@ declare const plugins$3: {
460
412
  plugins: {};
461
413
  name?: string;
462
414
  rules?: Record<string, RuleConfig>;
463
- settings?: _eslint_react_kit17.SettingsConfig;
464
- };
465
- "recommended-legacy": {
466
- plugins: string[];
467
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
415
+ settings?: _eslint_react_kit4.SettingsConfig;
468
416
  };
469
417
  };
470
418
  meta: {
471
419
  name: string;
472
420
  version: string;
473
421
  };
474
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
422
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
475
423
  };
476
424
  "@eslint-react/web-api": {
477
425
  configs: {
@@ -479,18 +427,14 @@ declare const plugins$3: {
479
427
  plugins: {};
480
428
  name?: string;
481
429
  rules?: Record<string, RuleConfig>;
482
- settings?: _eslint_react_kit17.SettingsConfig;
483
- };
484
- "recommended-legacy": {
485
- plugins: string[];
486
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
430
+ settings?: _eslint_react_kit4.SettingsConfig;
487
431
  };
488
432
  };
489
433
  meta: {
490
434
  name: string;
491
435
  version: string;
492
436
  };
493
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
437
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
494
438
  };
495
439
  "@eslint-react/dom": {
496
440
  configs: {
@@ -498,18 +442,14 @@ declare const plugins$3: {
498
442
  plugins: {};
499
443
  name?: string;
500
444
  rules?: Record<string, RuleConfig>;
501
- settings?: _eslint_react_kit17.SettingsConfig;
502
- };
503
- "recommended-legacy": {
504
- plugins: string[];
505
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
445
+ settings?: _eslint_react_kit4.SettingsConfig;
506
446
  };
507
447
  };
508
448
  meta: {
509
449
  name: string;
510
450
  version: string;
511
451
  };
512
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
452
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
513
453
  };
514
454
  "@eslint-react": {
515
455
  configs: {
@@ -517,38 +457,26 @@ declare const plugins$3: {
517
457
  plugins: {};
518
458
  name?: string;
519
459
  rules?: Record<string, RuleConfig>;
520
- settings?: _eslint_react_kit17.SettingsConfig;
521
- };
522
- "recommended-legacy": {
523
- plugins: string[];
524
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
460
+ settings?: _eslint_react_kit4.SettingsConfig;
525
461
  };
526
462
  "recommended-type-checked": {
527
463
  plugins: {};
528
464
  name?: string;
529
465
  rules?: Record<string, RuleConfig>;
530
- settings?: _eslint_react_kit17.SettingsConfig;
531
- };
532
- "recommended-type-checked-legacy": {
533
- plugins: string[];
534
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
466
+ settings?: _eslint_react_kit4.SettingsConfig;
535
467
  };
536
468
  "recommended-typescript": {
537
469
  plugins: {};
538
470
  name?: string;
539
471
  rules?: Record<string, RuleConfig>;
540
- settings?: _eslint_react_kit17.SettingsConfig;
541
- };
542
- "recommended-typescript-legacy": {
543
- plugins: string[];
544
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
472
+ settings?: _eslint_react_kit4.SettingsConfig;
545
473
  };
546
474
  };
547
475
  meta: {
548
476
  name: string;
549
477
  version: string;
550
478
  };
551
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
479
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
552
480
  };
553
481
  };
554
482
  declare const settings$3: {
@@ -637,18 +565,14 @@ declare const plugins$2: {
637
565
  plugins: {};
638
566
  name?: string;
639
567
  rules?: Record<string, RuleConfig>;
640
- settings?: _eslint_react_kit17.SettingsConfig;
641
- };
642
- "all-legacy": {
643
- plugins: string[];
644
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
568
+ settings?: _eslint_react_kit4.SettingsConfig;
645
569
  };
646
570
  };
647
571
  meta: {
648
572
  name: string;
649
573
  version: string;
650
574
  };
651
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
575
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
652
576
  };
653
577
  "@eslint-react/hooks-extra": {
654
578
  configs: {
@@ -656,18 +580,14 @@ declare const plugins$2: {
656
580
  plugins: {};
657
581
  name?: string;
658
582
  rules?: Record<string, RuleConfig>;
659
- settings?: _eslint_react_kit17.SettingsConfig;
660
- };
661
- "recommended-legacy": {
662
- plugins: string[];
663
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
583
+ settings?: _eslint_react_kit4.SettingsConfig;
664
584
  };
665
585
  };
666
586
  meta: {
667
587
  name: string;
668
588
  version: string;
669
589
  };
670
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
590
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
671
591
  };
672
592
  "@eslint-react/naming-convention": {
673
593
  configs: {
@@ -675,18 +595,14 @@ declare const plugins$2: {
675
595
  plugins: {};
676
596
  name?: string;
677
597
  rules?: Record<string, RuleConfig>;
678
- settings?: _eslint_react_kit17.SettingsConfig;
679
- };
680
- "recommended-legacy": {
681
- plugins: string[];
682
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
598
+ settings?: _eslint_react_kit4.SettingsConfig;
683
599
  };
684
600
  };
685
601
  meta: {
686
602
  name: string;
687
603
  version: string;
688
604
  };
689
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
605
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
690
606
  };
691
607
  "@eslint-react/web-api": {
692
608
  configs: {
@@ -694,18 +610,14 @@ declare const plugins$2: {
694
610
  plugins: {};
695
611
  name?: string;
696
612
  rules?: Record<string, RuleConfig>;
697
- settings?: _eslint_react_kit17.SettingsConfig;
698
- };
699
- "recommended-legacy": {
700
- plugins: string[];
701
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
613
+ settings?: _eslint_react_kit4.SettingsConfig;
702
614
  };
703
615
  };
704
616
  meta: {
705
617
  name: string;
706
618
  version: string;
707
619
  };
708
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
620
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
709
621
  };
710
622
  "@eslint-react/dom": {
711
623
  configs: {
@@ -713,18 +625,14 @@ declare const plugins$2: {
713
625
  plugins: {};
714
626
  name?: string;
715
627
  rules?: Record<string, RuleConfig>;
716
- settings?: _eslint_react_kit17.SettingsConfig;
717
- };
718
- "recommended-legacy": {
719
- plugins: string[];
720
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
628
+ settings?: _eslint_react_kit4.SettingsConfig;
721
629
  };
722
630
  };
723
631
  meta: {
724
632
  name: string;
725
633
  version: string;
726
634
  };
727
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
635
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
728
636
  };
729
637
  "@eslint-react": {
730
638
  configs: {
@@ -732,38 +640,26 @@ declare const plugins$2: {
732
640
  plugins: {};
733
641
  name?: string;
734
642
  rules?: Record<string, RuleConfig>;
735
- settings?: _eslint_react_kit17.SettingsConfig;
736
- };
737
- "recommended-legacy": {
738
- plugins: string[];
739
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
643
+ settings?: _eslint_react_kit4.SettingsConfig;
740
644
  };
741
645
  "recommended-type-checked": {
742
646
  plugins: {};
743
647
  name?: string;
744
648
  rules?: Record<string, RuleConfig>;
745
- settings?: _eslint_react_kit17.SettingsConfig;
746
- };
747
- "recommended-type-checked-legacy": {
748
- plugins: string[];
749
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
649
+ settings?: _eslint_react_kit4.SettingsConfig;
750
650
  };
751
651
  "recommended-typescript": {
752
652
  plugins: {};
753
653
  name?: string;
754
654
  rules?: Record<string, RuleConfig>;
755
- settings?: _eslint_react_kit17.SettingsConfig;
756
- };
757
- "recommended-typescript-legacy": {
758
- plugins: string[];
759
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
655
+ settings?: _eslint_react_kit4.SettingsConfig;
760
656
  };
761
657
  };
762
658
  meta: {
763
659
  name: string;
764
660
  version: string;
765
661
  };
766
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
662
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
767
663
  };
768
664
  };
769
665
  declare const settings$2: {
@@ -850,18 +746,14 @@ declare const plugins$1: {
850
746
  plugins: {};
851
747
  name?: string;
852
748
  rules?: Record<string, RuleConfig>;
853
- settings?: _eslint_react_kit17.SettingsConfig;
854
- };
855
- "all-legacy": {
856
- plugins: string[];
857
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
749
+ settings?: _eslint_react_kit4.SettingsConfig;
858
750
  };
859
751
  };
860
752
  meta: {
861
753
  name: string;
862
754
  version: string;
863
755
  };
864
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
756
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
865
757
  };
866
758
  "@eslint-react/hooks-extra": {
867
759
  configs: {
@@ -869,18 +761,14 @@ declare const plugins$1: {
869
761
  plugins: {};
870
762
  name?: string;
871
763
  rules?: Record<string, RuleConfig>;
872
- settings?: _eslint_react_kit17.SettingsConfig;
873
- };
874
- "recommended-legacy": {
875
- plugins: string[];
876
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
764
+ settings?: _eslint_react_kit4.SettingsConfig;
877
765
  };
878
766
  };
879
767
  meta: {
880
768
  name: string;
881
769
  version: string;
882
770
  };
883
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
771
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
884
772
  };
885
773
  "@eslint-react/naming-convention": {
886
774
  configs: {
@@ -888,18 +776,14 @@ declare const plugins$1: {
888
776
  plugins: {};
889
777
  name?: string;
890
778
  rules?: Record<string, RuleConfig>;
891
- settings?: _eslint_react_kit17.SettingsConfig;
892
- };
893
- "recommended-legacy": {
894
- plugins: string[];
895
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
779
+ settings?: _eslint_react_kit4.SettingsConfig;
896
780
  };
897
781
  };
898
782
  meta: {
899
783
  name: string;
900
784
  version: string;
901
785
  };
902
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
786
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
903
787
  };
904
788
  "@eslint-react/web-api": {
905
789
  configs: {
@@ -907,18 +791,14 @@ declare const plugins$1: {
907
791
  plugins: {};
908
792
  name?: string;
909
793
  rules?: Record<string, RuleConfig>;
910
- settings?: _eslint_react_kit17.SettingsConfig;
911
- };
912
- "recommended-legacy": {
913
- plugins: string[];
914
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
794
+ settings?: _eslint_react_kit4.SettingsConfig;
915
795
  };
916
796
  };
917
797
  meta: {
918
798
  name: string;
919
799
  version: string;
920
800
  };
921
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
801
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
922
802
  };
923
803
  "@eslint-react/dom": {
924
804
  configs: {
@@ -926,18 +806,14 @@ declare const plugins$1: {
926
806
  plugins: {};
927
807
  name?: string;
928
808
  rules?: Record<string, RuleConfig>;
929
- settings?: _eslint_react_kit17.SettingsConfig;
930
- };
931
- "recommended-legacy": {
932
- plugins: string[];
933
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
809
+ settings?: _eslint_react_kit4.SettingsConfig;
934
810
  };
935
811
  };
936
812
  meta: {
937
813
  name: string;
938
814
  version: string;
939
815
  };
940
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
816
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
941
817
  };
942
818
  "@eslint-react": {
943
819
  configs: {
@@ -945,38 +821,26 @@ declare const plugins$1: {
945
821
  plugins: {};
946
822
  name?: string;
947
823
  rules?: Record<string, RuleConfig>;
948
- settings?: _eslint_react_kit17.SettingsConfig;
949
- };
950
- "recommended-legacy": {
951
- plugins: string[];
952
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
824
+ settings?: _eslint_react_kit4.SettingsConfig;
953
825
  };
954
826
  "recommended-type-checked": {
955
827
  plugins: {};
956
828
  name?: string;
957
829
  rules?: Record<string, RuleConfig>;
958
- settings?: _eslint_react_kit17.SettingsConfig;
959
- };
960
- "recommended-type-checked-legacy": {
961
- plugins: string[];
962
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
830
+ settings?: _eslint_react_kit4.SettingsConfig;
963
831
  };
964
832
  "recommended-typescript": {
965
833
  plugins: {};
966
834
  name?: string;
967
835
  rules?: Record<string, RuleConfig>;
968
- settings?: _eslint_react_kit17.SettingsConfig;
969
- };
970
- "recommended-typescript-legacy": {
971
- plugins: string[];
972
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
836
+ settings?: _eslint_react_kit4.SettingsConfig;
973
837
  };
974
838
  };
975
839
  meta: {
976
840
  name: string;
977
841
  version: string;
978
842
  };
979
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
843
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
980
844
  };
981
845
  };
982
846
  declare const settings$1: {
@@ -1041,38 +905,26 @@ declare const plugins: {
1041
905
  plugins: {};
1042
906
  name?: string;
1043
907
  rules?: Record<string, RuleConfig>;
1044
- settings?: _eslint_react_kit17.SettingsConfig;
1045
- };
1046
- "recommended-legacy": {
1047
- plugins: string[];
1048
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
908
+ settings?: _eslint_react_kit4.SettingsConfig;
1049
909
  };
1050
910
  "recommended-type-checked": {
1051
911
  plugins: {};
1052
912
  name?: string;
1053
913
  rules?: Record<string, RuleConfig>;
1054
- settings?: _eslint_react_kit17.SettingsConfig;
1055
- };
1056
- "recommended-type-checked-legacy": {
1057
- plugins: string[];
1058
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
914
+ settings?: _eslint_react_kit4.SettingsConfig;
1059
915
  };
1060
916
  "recommended-typescript": {
1061
917
  plugins: {};
1062
918
  name?: string;
1063
919
  rules?: Record<string, RuleConfig>;
1064
- settings?: _eslint_react_kit17.SettingsConfig;
1065
- };
1066
- "recommended-typescript-legacy": {
1067
- plugins: string[];
1068
- rules: Record<string, RuleConfig<unknown[]>> | undefined;
920
+ settings?: _eslint_react_kit4.SettingsConfig;
1069
921
  };
1070
922
  };
1071
923
  meta: {
1072
924
  name: string;
1073
925
  version: string;
1074
926
  };
1075
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
927
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
1076
928
  };
1077
929
  };
1078
930
  declare const settings: {
@@ -1087,76 +939,24 @@ declare const settings: {
1087
939
  declare const _default: {
1088
940
  configs: {
1089
941
  all: typeof all_d_exports;
1090
- "all-legacy": {
1091
- plugins: string[];
1092
- rules: Record<string, _eslint_react_kit17.RuleConfig<unknown[]>> | undefined;
1093
- };
1094
942
  debug: typeof debug_d_exports;
1095
- "debug-legacy": {
1096
- plugins: string[];
1097
- rules: Record<string, _eslint_react_kit17.RuleConfig<unknown[]>> | undefined;
1098
- };
1099
943
  "disable-conflict-eslint-plugin-react": typeof disable_conflict_eslint_plugin_react_d_exports;
1100
- "disable-conflict-eslint-plugin-react-legacy": {
1101
- plugins: string[];
1102
- rules: Record<string, _eslint_react_kit17.RuleConfig<unknown[]>> | undefined;
1103
- };
1104
944
  "disable-debug": typeof disable_debug_d_exports;
1105
- "disable-debug-legacy": {
1106
- plugins: string[];
1107
- rules: Record<string, _eslint_react_kit17.RuleConfig<unknown[]>> | undefined;
1108
- };
1109
945
  "disable-dom": typeof disable_dom_d_exports;
1110
- "disable-dom-legacy": {
1111
- plugins: string[];
1112
- rules: Record<string, _eslint_react_kit17.RuleConfig<unknown[]>> | undefined;
1113
- };
1114
946
  "disable-type-checked": typeof disable_type_checked_d_exports;
1115
- "disable-type-checked-legacy": {
1116
- plugins: string[];
1117
- rules: Record<string, _eslint_react_kit17.RuleConfig<unknown[]>> | undefined;
1118
- };
1119
947
  "disable-web-api": typeof disable_web_api_d_exports;
1120
- "disable-web-api-legacy": {
1121
- plugins: string[];
1122
- rules: Record<string, _eslint_react_kit17.RuleConfig<unknown[]>> | undefined;
1123
- };
1124
948
  dom: typeof dom_d_exports;
1125
- "dom-legacy": {
1126
- plugins: string[];
1127
- rules: Record<string, _eslint_react_kit17.RuleConfig<unknown[]>> | undefined;
1128
- };
1129
949
  off: typeof off_d_exports;
1130
- "off-legacy": {
1131
- plugins: string[];
1132
- rules: Record<string, _eslint_react_kit17.RuleConfig<unknown[]>> | undefined;
1133
- };
1134
950
  recommended: typeof recommended_d_exports;
1135
- "recommended-legacy": {
1136
- plugins: string[];
1137
- rules: Record<string, _eslint_react_kit17.RuleConfig<unknown[]>> | undefined;
1138
- };
1139
951
  "recommended-type-checked": typeof recommended_type_checked_d_exports;
1140
- "recommended-type-checked-legacy": {
1141
- plugins: string[];
1142
- rules: Record<string, _eslint_react_kit17.RuleConfig<unknown[]>> | undefined;
1143
- };
1144
952
  "recommended-typescript": typeof recommended_typescript_d_exports;
1145
- "recommended-typescript-legacy": {
1146
- plugins: string[];
1147
- rules: Record<string, _eslint_react_kit17.RuleConfig<unknown[]>> | undefined;
1148
- };
1149
953
  x: typeof x_d_exports;
1150
- "x-legacy": {
1151
- plugins: string[];
1152
- rules: Record<string, _eslint_react_kit17.RuleConfig<unknown[]>> | undefined;
1153
- };
1154
954
  };
1155
955
  meta: {
1156
956
  name: string;
1157
957
  version: string;
1158
958
  };
1159
- rules: Record<string, _eslint_react_kit17.CompatibleRule>;
959
+ rules: Record<string, _eslint_react_kit4.CompatibleRule>;
1160
960
  };
1161
961
  //#endregion
1162
962
  export { _default as default };
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import { DEFAULT_ESLINT_REACT_SETTINGS } from "@eslint-react/shared";
9
9
 
10
10
  //#region package.json
11
11
  var name = "@eslint-react/eslint-plugin";
12
- var version = "2.0.0-next.190";
12
+ var version = "2.0.0-next.192";
13
13
 
14
14
  //#endregion
15
15
  //#region src/configs/dom.ts
@@ -439,12 +439,6 @@ function padKeysLeft(obj, left) {
439
439
 
440
440
  //#endregion
441
441
  //#region src/index.ts
442
- function toLegacyConfig({ rules: rules$14 }) {
443
- return {
444
- plugins: ["@eslint-react"],
445
- rules: rules$14
446
- };
447
- }
448
442
  const plugin = {
449
443
  meta: {
450
444
  name,
@@ -463,31 +457,18 @@ var src_default = {
463
457
  ...plugin,
464
458
  configs: {
465
459
  ["all"]: all_exports,
466
- ["all-legacy"]: toLegacyConfig(all_exports),
467
460
  ["debug"]: debug_exports,
468
- ["debug-legacy"]: toLegacyConfig(debug_exports),
469
461
  ["disable-conflict-eslint-plugin-react"]: disable_conflict_eslint_plugin_react_exports,
470
- ["disable-conflict-eslint-plugin-react-legacy"]: toLegacyConfig(disable_conflict_eslint_plugin_react_exports),
471
462
  ["disable-debug"]: disable_debug_exports,
472
- ["disable-debug-legacy"]: toLegacyConfig(disable_debug_exports),
473
463
  ["disable-dom"]: disable_dom_exports,
474
- ["disable-dom-legacy"]: toLegacyConfig(disable_dom_exports),
475
464
  ["disable-type-checked"]: disable_type_checked_exports,
476
- ["disable-type-checked-legacy"]: toLegacyConfig(disable_type_checked_exports),
477
465
  ["disable-web-api"]: disable_web_api_exports,
478
- ["disable-web-api-legacy"]: toLegacyConfig(disable_web_api_exports),
479
466
  ["dom"]: dom_exports,
480
- ["dom-legacy"]: toLegacyConfig(dom_exports),
481
467
  ["off"]: off_exports,
482
- ["off-legacy"]: toLegacyConfig(off_exports),
483
468
  ["recommended"]: recommended_exports,
484
- ["recommended-legacy"]: toLegacyConfig(recommended_exports),
485
469
  ["recommended-type-checked"]: recommended_type_checked_exports,
486
- ["recommended-type-checked-legacy"]: toLegacyConfig(recommended_type_checked_exports),
487
470
  ["recommended-typescript"]: recommended_typescript_exports,
488
- ["recommended-typescript-legacy"]: toLegacyConfig(recommended_typescript_exports),
489
- ["x"]: x_exports,
490
- ["x-legacy"]: toLegacyConfig(x_exports)
471
+ ["x"]: x_exports
491
472
  }
492
473
  };
493
474
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/eslint-plugin",
3
- "version": "2.0.0-next.190",
3
+ "version": "2.0.0-next.192",
4
4
  "description": "A unified plugin that combines all individual plugins from the eslint-react monorepo into one.",
5
5
  "keywords": [
6
6
  "react",
@@ -37,19 +37,19 @@
37
37
  "./package.json"
38
38
  ],
39
39
  "dependencies": {
40
- "@typescript-eslint/scope-manager": "^8.44.0",
41
- "@typescript-eslint/type-utils": "^8.44.0",
42
- "@typescript-eslint/types": "^8.44.0",
43
- "@typescript-eslint/utils": "^8.44.0",
44
- "@eslint-react/eff": "2.0.0-next.190",
45
- "eslint-plugin-react-debug": "2.0.0-next.190",
46
- "eslint-plugin-react-dom": "2.0.0-next.190",
47
- "eslint-plugin-react-hooks-extra": "2.0.0-next.190",
48
- "eslint-plugin-react-web-api": "2.0.0-next.190",
49
- "@eslint-react/shared": "2.0.0-next.190",
50
- "@eslint-react/kit": "2.0.0-next.190",
51
- "eslint-plugin-react-x": "2.0.0-next.190",
52
- "eslint-plugin-react-naming-convention": "2.0.0-next.190"
40
+ "@typescript-eslint/scope-manager": "^8.44.1",
41
+ "@typescript-eslint/type-utils": "^8.44.1",
42
+ "@typescript-eslint/types": "^8.44.1",
43
+ "@typescript-eslint/utils": "^8.44.1",
44
+ "@eslint-react/eff": "2.0.0-next.192",
45
+ "@eslint-react/kit": "2.0.0-next.192",
46
+ "eslint-plugin-react-dom": "2.0.0-next.192",
47
+ "@eslint-react/shared": "2.0.0-next.192",
48
+ "eslint-plugin-react-debug": "2.0.0-next.192",
49
+ "eslint-plugin-react-hooks-extra": "2.0.0-next.192",
50
+ "eslint-plugin-react-web-api": "2.0.0-next.192",
51
+ "eslint-plugin-react-x": "2.0.0-next.192",
52
+ "eslint-plugin-react-naming-convention": "2.0.0-next.192"
53
53
  },
54
54
  "devDependencies": {
55
55
  "tsdown": "^0.15.4",