@eslint-react/eslint-plugin 2.0.0-next.156 → 2.0.0-next.158

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 (3) hide show
  1. package/dist/index.d.ts +169 -133
  2. package/dist/index.js +2 -2
  3. package/package.json +10 -10
package/dist/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
- import * as _eslint_react_shared27 from "@eslint-react/shared";
2
- import * as _eslint_react_kit0 from "@eslint-react/kit";
3
- import { RulePreset } from "@eslint-react/kit";
1
+ import * as _eslint_react_kit68 from "@eslint-react/kit";
2
+ import { RuleConfig } from "@eslint-react/kit";
4
3
 
5
4
  //#region src/configs/all.d.ts
6
5
  declare namespace all_d_exports {
@@ -100,14 +99,15 @@ declare const plugins$6: {
100
99
  configs: {
101
100
  all: {
102
101
  plugins: {
103
- "react-debug": _eslint_react_shared27.CompatiblePlugin;
102
+ "react-debug": _eslint_react_kit68.CompatiblePlugin;
104
103
  };
105
104
  name?: string;
106
- rules?: Record<string, any>;
105
+ rules?: Record<string, RuleConfig>;
106
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
107
107
  };
108
108
  "all-legacy": {
109
109
  plugins: string[];
110
- rules: RulePreset;
110
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
111
111
  };
112
112
  };
113
113
  meta: {
@@ -120,14 +120,15 @@ declare const plugins$6: {
120
120
  configs: {
121
121
  recommended: {
122
122
  plugins: {
123
- "react-hooks-extra": _eslint_react_shared27.CompatiblePlugin;
123
+ "react-hooks-extra": _eslint_react_kit68.CompatiblePlugin;
124
124
  };
125
125
  name?: string;
126
- rules?: Record<string, any>;
126
+ rules?: Record<string, RuleConfig>;
127
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
127
128
  };
128
129
  "recommended-legacy": {
129
130
  plugins: string[];
130
- rules: RulePreset;
131
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
131
132
  };
132
133
  };
133
134
  meta: {
@@ -140,14 +141,15 @@ declare const plugins$6: {
140
141
  configs: {
141
142
  recommended: {
142
143
  plugins: {
143
- "react-naming-convention": _eslint_react_shared27.CompatiblePlugin;
144
+ "react-naming-convention": _eslint_react_kit68.CompatiblePlugin;
144
145
  };
145
146
  name?: string;
146
- rules?: Record<string, any>;
147
+ rules?: Record<string, RuleConfig>;
148
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
147
149
  };
148
150
  "recommended-legacy": {
149
151
  plugins: string[];
150
- rules: RulePreset;
152
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
151
153
  };
152
154
  };
153
155
  meta: {
@@ -160,14 +162,15 @@ declare const plugins$6: {
160
162
  configs: {
161
163
  recommended: {
162
164
  plugins: {
163
- "react-web-api": _eslint_react_shared27.CompatiblePlugin;
165
+ "react-web-api": _eslint_react_kit68.CompatiblePlugin;
164
166
  };
165
167
  name?: string;
166
- rules?: Record<string, any>;
168
+ rules?: Record<string, RuleConfig>;
169
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
167
170
  };
168
171
  "recommended-legacy": {
169
172
  plugins: string[];
170
- rules: RulePreset;
173
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
171
174
  };
172
175
  };
173
176
  meta: {
@@ -180,14 +183,15 @@ declare const plugins$6: {
180
183
  configs: {
181
184
  recommended: {
182
185
  plugins: {
183
- "react-dom": _eslint_react_shared27.CompatiblePlugin;
186
+ "react-dom": _eslint_react_kit68.CompatiblePlugin;
184
187
  };
185
188
  name?: string;
186
- rules?: Record<string, any>;
189
+ rules?: Record<string, RuleConfig>;
190
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
187
191
  };
188
192
  "recommended-legacy": {
189
193
  plugins: string[];
190
- rules: RulePreset;
194
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
191
195
  };
192
196
  };
193
197
  meta: {
@@ -200,36 +204,39 @@ declare const plugins$6: {
200
204
  configs: {
201
205
  recommended: {
202
206
  plugins: {
203
- "react-x": _eslint_react_shared27.CompatiblePlugin;
207
+ "react-x": _eslint_react_kit68.CompatiblePlugin;
204
208
  };
205
209
  name?: string;
206
- rules?: Record<string, any>;
210
+ rules?: Record<string, RuleConfig>;
211
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
207
212
  };
208
213
  "recommended-legacy": {
209
214
  plugins: string[];
210
- rules: RulePreset;
215
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
211
216
  };
212
217
  "recommended-type-checked": {
213
218
  plugins: {
214
- "react-x": _eslint_react_shared27.CompatiblePlugin;
219
+ "react-x": _eslint_react_kit68.CompatiblePlugin;
215
220
  };
216
221
  name?: string;
217
- rules?: Record<string, any>;
222
+ rules?: Record<string, RuleConfig>;
223
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
218
224
  };
219
225
  "recommended-type-checked-legacy": {
220
226
  plugins: string[];
221
- rules: RulePreset;
227
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
222
228
  };
223
229
  "recommended-typescript": {
224
230
  plugins: {
225
- "react-x": _eslint_react_shared27.CompatiblePlugin;
231
+ "react-x": _eslint_react_kit68.CompatiblePlugin;
226
232
  };
227
233
  name?: string;
228
- rules?: Record<string, any>;
234
+ rules?: Record<string, RuleConfig>;
235
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
229
236
  };
230
237
  "recommended-typescript-legacy": {
231
238
  plugins: string[];
232
- rules: RulePreset;
239
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
233
240
  };
234
241
  };
235
242
  meta: {
@@ -269,14 +276,15 @@ declare const plugins$5: {
269
276
  configs: {
270
277
  all: {
271
278
  plugins: {
272
- "react-debug": _eslint_react_shared27.CompatiblePlugin;
279
+ "react-debug": _eslint_react_kit68.CompatiblePlugin;
273
280
  };
274
281
  name?: string;
275
- rules?: Record<string, any>;
282
+ rules?: Record<string, RuleConfig>;
283
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
276
284
  };
277
285
  "all-legacy": {
278
286
  plugins: string[];
279
- rules: _eslint_react_kit0.RulePreset;
287
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
280
288
  };
281
289
  };
282
290
  meta: {
@@ -290,27 +298,27 @@ declare namespace disable_conflict_eslint_plugin_react_d_exports {
290
298
  export { name$10 as name, rules$10 as rules };
291
299
  }
292
300
  declare const name$10 = "@eslint-react/disable-conflict-eslint-plugin-react";
293
- declare const rules$10: RulePreset;
301
+ declare const rules$10: Record<string, RuleConfig>;
294
302
  declare namespace disable_debug_d_exports {
295
303
  export { name$9 as name, rules$9 as rules };
296
304
  }
297
305
  declare const name$9 = "@eslint-react/disable-debug";
298
- declare const rules$9: RulePreset;
306
+ declare const rules$9: Record<string, RuleConfig>;
299
307
  declare namespace disable_dom_d_exports {
300
308
  export { name$8 as name, rules$8 as rules };
301
309
  }
302
310
  declare const name$8 = "@eslint-react/disable-dom";
303
- declare const rules$8: RulePreset;
311
+ declare const rules$8: Record<string, RuleConfig>;
304
312
  declare namespace disable_type_checked_d_exports {
305
313
  export { name$7 as name, rules$7 as rules };
306
314
  }
307
315
  declare const name$7 = "@eslint-react/disable-type-checked";
308
- declare const rules$7: RulePreset;
316
+ declare const rules$7: Record<string, RuleConfig>;
309
317
  declare namespace disable_web_api_d_exports {
310
318
  export { name$6 as name, rules$6 as rules };
311
319
  }
312
320
  declare const name$6 = "@eslint-react/disable-web-api";
313
- declare const rules$6: RulePreset;
321
+ declare const rules$6: Record<string, RuleConfig>;
314
322
  declare namespace dom_d_exports {
315
323
  export { name$5 as name, plugins$4 as plugins, rules$5 as rules, settings$4 as settings };
316
324
  }
@@ -337,14 +345,15 @@ declare const plugins$4: {
337
345
  configs: {
338
346
  recommended: {
339
347
  plugins: {
340
- "react-dom": _eslint_react_shared27.CompatiblePlugin;
348
+ "react-dom": _eslint_react_kit68.CompatiblePlugin;
341
349
  };
342
350
  name?: string;
343
- rules?: Record<string, any>;
351
+ rules?: Record<string, RuleConfig>;
352
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
344
353
  };
345
354
  "recommended-legacy": {
346
355
  plugins: string[];
347
- rules: RulePreset;
356
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
348
357
  };
349
358
  };
350
359
  meta: {
@@ -372,7 +381,7 @@ declare namespace off_d_exports {
372
381
  export { name$4 as name, rules$4 as rules };
373
382
  }
374
383
  declare const name$4 = "@eslint-react/off";
375
- declare const rules$4: RulePreset;
384
+ declare const rules$4: Record<string, RuleConfig>;
376
385
  declare namespace recommended_d_exports {
377
386
  export { name$3 as name, plugins$3 as plugins, rules$3 as rules, settings$3 as settings };
378
387
  }
@@ -447,14 +456,15 @@ declare const plugins$3: {
447
456
  configs: {
448
457
  all: {
449
458
  plugins: {
450
- "react-debug": _eslint_react_shared27.CompatiblePlugin;
459
+ "react-debug": _eslint_react_kit68.CompatiblePlugin;
451
460
  };
452
461
  name?: string;
453
- rules?: Record<string, any>;
462
+ rules?: Record<string, RuleConfig>;
463
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
454
464
  };
455
465
  "all-legacy": {
456
466
  plugins: string[];
457
- rules: RulePreset;
467
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
458
468
  };
459
469
  };
460
470
  meta: {
@@ -467,14 +477,15 @@ declare const plugins$3: {
467
477
  configs: {
468
478
  recommended: {
469
479
  plugins: {
470
- "react-hooks-extra": _eslint_react_shared27.CompatiblePlugin;
480
+ "react-hooks-extra": _eslint_react_kit68.CompatiblePlugin;
471
481
  };
472
482
  name?: string;
473
- rules?: Record<string, any>;
483
+ rules?: Record<string, RuleConfig>;
484
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
474
485
  };
475
486
  "recommended-legacy": {
476
487
  plugins: string[];
477
- rules: RulePreset;
488
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
478
489
  };
479
490
  };
480
491
  meta: {
@@ -487,14 +498,15 @@ declare const plugins$3: {
487
498
  configs: {
488
499
  recommended: {
489
500
  plugins: {
490
- "react-naming-convention": _eslint_react_shared27.CompatiblePlugin;
501
+ "react-naming-convention": _eslint_react_kit68.CompatiblePlugin;
491
502
  };
492
503
  name?: string;
493
- rules?: Record<string, any>;
504
+ rules?: Record<string, RuleConfig>;
505
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
494
506
  };
495
507
  "recommended-legacy": {
496
508
  plugins: string[];
497
- rules: RulePreset;
509
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
498
510
  };
499
511
  };
500
512
  meta: {
@@ -507,14 +519,15 @@ declare const plugins$3: {
507
519
  configs: {
508
520
  recommended: {
509
521
  plugins: {
510
- "react-web-api": _eslint_react_shared27.CompatiblePlugin;
522
+ "react-web-api": _eslint_react_kit68.CompatiblePlugin;
511
523
  };
512
524
  name?: string;
513
- rules?: Record<string, any>;
525
+ rules?: Record<string, RuleConfig>;
526
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
514
527
  };
515
528
  "recommended-legacy": {
516
529
  plugins: string[];
517
- rules: RulePreset;
530
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
518
531
  };
519
532
  };
520
533
  meta: {
@@ -527,14 +540,15 @@ declare const plugins$3: {
527
540
  configs: {
528
541
  recommended: {
529
542
  plugins: {
530
- "react-dom": _eslint_react_shared27.CompatiblePlugin;
543
+ "react-dom": _eslint_react_kit68.CompatiblePlugin;
531
544
  };
532
545
  name?: string;
533
- rules?: Record<string, any>;
546
+ rules?: Record<string, RuleConfig>;
547
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
534
548
  };
535
549
  "recommended-legacy": {
536
550
  plugins: string[];
537
- rules: RulePreset;
551
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
538
552
  };
539
553
  };
540
554
  meta: {
@@ -547,36 +561,39 @@ declare const plugins$3: {
547
561
  configs: {
548
562
  recommended: {
549
563
  plugins: {
550
- "react-x": _eslint_react_shared27.CompatiblePlugin;
564
+ "react-x": _eslint_react_kit68.CompatiblePlugin;
551
565
  };
552
566
  name?: string;
553
- rules?: Record<string, any>;
567
+ rules?: Record<string, RuleConfig>;
568
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
554
569
  };
555
570
  "recommended-legacy": {
556
571
  plugins: string[];
557
- rules: RulePreset;
572
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
558
573
  };
559
574
  "recommended-type-checked": {
560
575
  plugins: {
561
- "react-x": _eslint_react_shared27.CompatiblePlugin;
576
+ "react-x": _eslint_react_kit68.CompatiblePlugin;
562
577
  };
563
578
  name?: string;
564
- rules?: Record<string, any>;
579
+ rules?: Record<string, RuleConfig>;
580
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
565
581
  };
566
582
  "recommended-type-checked-legacy": {
567
583
  plugins: string[];
568
- rules: RulePreset;
584
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
569
585
  };
570
586
  "recommended-typescript": {
571
587
  plugins: {
572
- "react-x": _eslint_react_shared27.CompatiblePlugin;
588
+ "react-x": _eslint_react_kit68.CompatiblePlugin;
573
589
  };
574
590
  name?: string;
575
- rules?: Record<string, any>;
591
+ rules?: Record<string, RuleConfig>;
592
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
576
593
  };
577
594
  "recommended-typescript-legacy": {
578
595
  plugins: string[];
579
- rules: RulePreset;
596
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
580
597
  };
581
598
  };
582
599
  meta: {
@@ -678,14 +695,15 @@ declare const plugins$2: {
678
695
  configs: {
679
696
  all: {
680
697
  plugins: {
681
- "react-debug": _eslint_react_shared27.CompatiblePlugin;
698
+ "react-debug": _eslint_react_kit68.CompatiblePlugin;
682
699
  };
683
700
  name?: string;
684
- rules?: Record<string, any>;
701
+ rules?: Record<string, RuleConfig>;
702
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
685
703
  };
686
704
  "all-legacy": {
687
705
  plugins: string[];
688
- rules: RulePreset;
706
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
689
707
  };
690
708
  };
691
709
  meta: {
@@ -698,14 +716,15 @@ declare const plugins$2: {
698
716
  configs: {
699
717
  recommended: {
700
718
  plugins: {
701
- "react-hooks-extra": _eslint_react_shared27.CompatiblePlugin;
719
+ "react-hooks-extra": _eslint_react_kit68.CompatiblePlugin;
702
720
  };
703
721
  name?: string;
704
- rules?: Record<string, any>;
722
+ rules?: Record<string, RuleConfig>;
723
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
705
724
  };
706
725
  "recommended-legacy": {
707
726
  plugins: string[];
708
- rules: RulePreset;
727
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
709
728
  };
710
729
  };
711
730
  meta: {
@@ -718,14 +737,15 @@ declare const plugins$2: {
718
737
  configs: {
719
738
  recommended: {
720
739
  plugins: {
721
- "react-naming-convention": _eslint_react_shared27.CompatiblePlugin;
740
+ "react-naming-convention": _eslint_react_kit68.CompatiblePlugin;
722
741
  };
723
742
  name?: string;
724
- rules?: Record<string, any>;
743
+ rules?: Record<string, RuleConfig>;
744
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
725
745
  };
726
746
  "recommended-legacy": {
727
747
  plugins: string[];
728
- rules: RulePreset;
748
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
729
749
  };
730
750
  };
731
751
  meta: {
@@ -738,14 +758,15 @@ declare const plugins$2: {
738
758
  configs: {
739
759
  recommended: {
740
760
  plugins: {
741
- "react-web-api": _eslint_react_shared27.CompatiblePlugin;
761
+ "react-web-api": _eslint_react_kit68.CompatiblePlugin;
742
762
  };
743
763
  name?: string;
744
- rules?: Record<string, any>;
764
+ rules?: Record<string, RuleConfig>;
765
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
745
766
  };
746
767
  "recommended-legacy": {
747
768
  plugins: string[];
748
- rules: RulePreset;
769
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
749
770
  };
750
771
  };
751
772
  meta: {
@@ -758,14 +779,15 @@ declare const plugins$2: {
758
779
  configs: {
759
780
  recommended: {
760
781
  plugins: {
761
- "react-dom": _eslint_react_shared27.CompatiblePlugin;
782
+ "react-dom": _eslint_react_kit68.CompatiblePlugin;
762
783
  };
763
784
  name?: string;
764
- rules?: Record<string, any>;
785
+ rules?: Record<string, RuleConfig>;
786
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
765
787
  };
766
788
  "recommended-legacy": {
767
789
  plugins: string[];
768
- rules: RulePreset;
790
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
769
791
  };
770
792
  };
771
793
  meta: {
@@ -778,36 +800,39 @@ declare const plugins$2: {
778
800
  configs: {
779
801
  recommended: {
780
802
  plugins: {
781
- "react-x": _eslint_react_shared27.CompatiblePlugin;
803
+ "react-x": _eslint_react_kit68.CompatiblePlugin;
782
804
  };
783
805
  name?: string;
784
- rules?: Record<string, any>;
806
+ rules?: Record<string, RuleConfig>;
807
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
785
808
  };
786
809
  "recommended-legacy": {
787
810
  plugins: string[];
788
- rules: RulePreset;
811
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
789
812
  };
790
813
  "recommended-type-checked": {
791
814
  plugins: {
792
- "react-x": _eslint_react_shared27.CompatiblePlugin;
815
+ "react-x": _eslint_react_kit68.CompatiblePlugin;
793
816
  };
794
817
  name?: string;
795
- rules?: Record<string, any>;
818
+ rules?: Record<string, RuleConfig>;
819
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
796
820
  };
797
821
  "recommended-type-checked-legacy": {
798
822
  plugins: string[];
799
- rules: RulePreset;
823
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
800
824
  };
801
825
  "recommended-typescript": {
802
826
  plugins: {
803
- "react-x": _eslint_react_shared27.CompatiblePlugin;
827
+ "react-x": _eslint_react_kit68.CompatiblePlugin;
804
828
  };
805
829
  name?: string;
806
- rules?: Record<string, any>;
830
+ rules?: Record<string, RuleConfig>;
831
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
807
832
  };
808
833
  "recommended-typescript-legacy": {
809
834
  plugins: string[];
810
- rules: RulePreset;
835
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
811
836
  };
812
837
  };
813
838
  meta: {
@@ -907,14 +932,15 @@ declare const plugins$1: {
907
932
  configs: {
908
933
  all: {
909
934
  plugins: {
910
- "react-debug": _eslint_react_shared27.CompatiblePlugin;
935
+ "react-debug": _eslint_react_kit68.CompatiblePlugin;
911
936
  };
912
937
  name?: string;
913
- rules?: Record<string, any>;
938
+ rules?: Record<string, RuleConfig>;
939
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
914
940
  };
915
941
  "all-legacy": {
916
942
  plugins: string[];
917
- rules: RulePreset;
943
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
918
944
  };
919
945
  };
920
946
  meta: {
@@ -927,14 +953,15 @@ declare const plugins$1: {
927
953
  configs: {
928
954
  recommended: {
929
955
  plugins: {
930
- "react-hooks-extra": _eslint_react_shared27.CompatiblePlugin;
956
+ "react-hooks-extra": _eslint_react_kit68.CompatiblePlugin;
931
957
  };
932
958
  name?: string;
933
- rules?: Record<string, any>;
959
+ rules?: Record<string, RuleConfig>;
960
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
934
961
  };
935
962
  "recommended-legacy": {
936
963
  plugins: string[];
937
- rules: RulePreset;
964
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
938
965
  };
939
966
  };
940
967
  meta: {
@@ -947,14 +974,15 @@ declare const plugins$1: {
947
974
  configs: {
948
975
  recommended: {
949
976
  plugins: {
950
- "react-naming-convention": _eslint_react_shared27.CompatiblePlugin;
977
+ "react-naming-convention": _eslint_react_kit68.CompatiblePlugin;
951
978
  };
952
979
  name?: string;
953
- rules?: Record<string, any>;
980
+ rules?: Record<string, RuleConfig>;
981
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
954
982
  };
955
983
  "recommended-legacy": {
956
984
  plugins: string[];
957
- rules: RulePreset;
985
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
958
986
  };
959
987
  };
960
988
  meta: {
@@ -967,14 +995,15 @@ declare const plugins$1: {
967
995
  configs: {
968
996
  recommended: {
969
997
  plugins: {
970
- "react-web-api": _eslint_react_shared27.CompatiblePlugin;
998
+ "react-web-api": _eslint_react_kit68.CompatiblePlugin;
971
999
  };
972
1000
  name?: string;
973
- rules?: Record<string, any>;
1001
+ rules?: Record<string, RuleConfig>;
1002
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
974
1003
  };
975
1004
  "recommended-legacy": {
976
1005
  plugins: string[];
977
- rules: RulePreset;
1006
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
978
1007
  };
979
1008
  };
980
1009
  meta: {
@@ -987,14 +1016,15 @@ declare const plugins$1: {
987
1016
  configs: {
988
1017
  recommended: {
989
1018
  plugins: {
990
- "react-dom": _eslint_react_shared27.CompatiblePlugin;
1019
+ "react-dom": _eslint_react_kit68.CompatiblePlugin;
991
1020
  };
992
1021
  name?: string;
993
- rules?: Record<string, any>;
1022
+ rules?: Record<string, RuleConfig>;
1023
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
994
1024
  };
995
1025
  "recommended-legacy": {
996
1026
  plugins: string[];
997
- rules: RulePreset;
1027
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
998
1028
  };
999
1029
  };
1000
1030
  meta: {
@@ -1007,36 +1037,39 @@ declare const plugins$1: {
1007
1037
  configs: {
1008
1038
  recommended: {
1009
1039
  plugins: {
1010
- "react-x": _eslint_react_shared27.CompatiblePlugin;
1040
+ "react-x": _eslint_react_kit68.CompatiblePlugin;
1011
1041
  };
1012
1042
  name?: string;
1013
- rules?: Record<string, any>;
1043
+ rules?: Record<string, RuleConfig>;
1044
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
1014
1045
  };
1015
1046
  "recommended-legacy": {
1016
1047
  plugins: string[];
1017
- rules: RulePreset;
1048
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
1018
1049
  };
1019
1050
  "recommended-type-checked": {
1020
1051
  plugins: {
1021
- "react-x": _eslint_react_shared27.CompatiblePlugin;
1052
+ "react-x": _eslint_react_kit68.CompatiblePlugin;
1022
1053
  };
1023
1054
  name?: string;
1024
- rules?: Record<string, any>;
1055
+ rules?: Record<string, RuleConfig>;
1056
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
1025
1057
  };
1026
1058
  "recommended-type-checked-legacy": {
1027
1059
  plugins: string[];
1028
- rules: RulePreset;
1060
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
1029
1061
  };
1030
1062
  "recommended-typescript": {
1031
1063
  plugins: {
1032
- "react-x": _eslint_react_shared27.CompatiblePlugin;
1064
+ "react-x": _eslint_react_kit68.CompatiblePlugin;
1033
1065
  };
1034
1066
  name?: string;
1035
- rules?: Record<string, any>;
1067
+ rules?: Record<string, RuleConfig>;
1068
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
1036
1069
  };
1037
1070
  "recommended-typescript-legacy": {
1038
1071
  plugins: string[];
1039
- rules: RulePreset;
1072
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
1040
1073
  };
1041
1074
  };
1042
1075
  meta: {
@@ -1114,36 +1147,39 @@ declare const plugins: {
1114
1147
  configs: {
1115
1148
  recommended: {
1116
1149
  plugins: {
1117
- "react-x": _eslint_react_shared27.CompatiblePlugin;
1150
+ "react-x": _eslint_react_kit68.CompatiblePlugin;
1118
1151
  };
1119
1152
  name?: string;
1120
- rules?: Record<string, any>;
1153
+ rules?: Record<string, RuleConfig>;
1154
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
1121
1155
  };
1122
1156
  "recommended-legacy": {
1123
1157
  plugins: string[];
1124
- rules: RulePreset;
1158
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
1125
1159
  };
1126
1160
  "recommended-type-checked": {
1127
1161
  plugins: {
1128
- "react-x": _eslint_react_shared27.CompatiblePlugin;
1162
+ "react-x": _eslint_react_kit68.CompatiblePlugin;
1129
1163
  };
1130
1164
  name?: string;
1131
- rules?: Record<string, any>;
1165
+ rules?: Record<string, RuleConfig>;
1166
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
1132
1167
  };
1133
1168
  "recommended-type-checked-legacy": {
1134
1169
  plugins: string[];
1135
- rules: RulePreset;
1170
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
1136
1171
  };
1137
1172
  "recommended-typescript": {
1138
1173
  plugins: {
1139
- "react-x": _eslint_react_shared27.CompatiblePlugin;
1174
+ "react-x": _eslint_react_kit68.CompatiblePlugin;
1140
1175
  };
1141
1176
  name?: string;
1142
- rules?: Record<string, any>;
1177
+ rules?: Record<string, RuleConfig>;
1178
+ settings?: _eslint_react_kit68.SettingsConfig | undefined;
1143
1179
  };
1144
1180
  "recommended-typescript-legacy": {
1145
1181
  plugins: string[];
1146
- rules: RulePreset;
1182
+ rules: Record<string, RuleConfig<unknown[]>> | undefined;
1147
1183
  };
1148
1184
  };
1149
1185
  meta: {
@@ -1174,67 +1210,67 @@ declare const _default: {
1174
1210
  all: typeof all_d_exports;
1175
1211
  "all-legacy": {
1176
1212
  plugins: string[];
1177
- rules: RulePreset;
1213
+ rules: Record<string, _eslint_react_kit68.RuleConfig<unknown[]>> | undefined;
1178
1214
  };
1179
1215
  debug: typeof debug_d_exports;
1180
1216
  "debug-legacy": {
1181
1217
  plugins: string[];
1182
- rules: RulePreset;
1218
+ rules: Record<string, _eslint_react_kit68.RuleConfig<unknown[]>> | undefined;
1183
1219
  };
1184
1220
  "disable-conflict-eslint-plugin-react": typeof disable_conflict_eslint_plugin_react_d_exports;
1185
1221
  "disable-conflict-eslint-plugin-react-legacy": {
1186
1222
  plugins: string[];
1187
- rules: RulePreset;
1223
+ rules: Record<string, _eslint_react_kit68.RuleConfig<unknown[]>> | undefined;
1188
1224
  };
1189
1225
  "disable-debug": typeof disable_debug_d_exports;
1190
1226
  "disable-debug-legacy": {
1191
1227
  plugins: string[];
1192
- rules: RulePreset;
1228
+ rules: Record<string, _eslint_react_kit68.RuleConfig<unknown[]>> | undefined;
1193
1229
  };
1194
1230
  "disable-dom": typeof disable_dom_d_exports;
1195
1231
  "disable-dom-legacy": {
1196
1232
  plugins: string[];
1197
- rules: RulePreset;
1233
+ rules: Record<string, _eslint_react_kit68.RuleConfig<unknown[]>> | undefined;
1198
1234
  };
1199
1235
  "disable-type-checked": typeof disable_type_checked_d_exports;
1200
1236
  "disable-type-checked-legacy": {
1201
1237
  plugins: string[];
1202
- rules: RulePreset;
1238
+ rules: Record<string, _eslint_react_kit68.RuleConfig<unknown[]>> | undefined;
1203
1239
  };
1204
1240
  "disable-web-api": typeof disable_web_api_d_exports;
1205
1241
  "disable-web-api-legacy": {
1206
1242
  plugins: string[];
1207
- rules: RulePreset;
1243
+ rules: Record<string, _eslint_react_kit68.RuleConfig<unknown[]>> | undefined;
1208
1244
  };
1209
1245
  dom: typeof dom_d_exports;
1210
1246
  "dom-legacy": {
1211
1247
  plugins: string[];
1212
- rules: RulePreset;
1248
+ rules: Record<string, _eslint_react_kit68.RuleConfig<unknown[]>> | undefined;
1213
1249
  };
1214
1250
  off: typeof off_d_exports;
1215
1251
  "off-legacy": {
1216
1252
  plugins: string[];
1217
- rules: RulePreset;
1253
+ rules: Record<string, _eslint_react_kit68.RuleConfig<unknown[]>> | undefined;
1218
1254
  };
1219
1255
  recommended: typeof recommended_d_exports;
1220
1256
  "recommended-legacy": {
1221
1257
  plugins: string[];
1222
- rules: RulePreset;
1258
+ rules: Record<string, _eslint_react_kit68.RuleConfig<unknown[]>> | undefined;
1223
1259
  };
1224
1260
  "recommended-type-checked": typeof recommended_type_checked_d_exports;
1225
1261
  "recommended-type-checked-legacy": {
1226
1262
  plugins: string[];
1227
- rules: RulePreset;
1263
+ rules: Record<string, _eslint_react_kit68.RuleConfig<unknown[]>> | undefined;
1228
1264
  };
1229
1265
  "recommended-typescript": typeof recommended_typescript_d_exports;
1230
1266
  "recommended-typescript-legacy": {
1231
1267
  plugins: string[];
1232
- rules: RulePreset;
1268
+ rules: Record<string, _eslint_react_kit68.RuleConfig<unknown[]>> | undefined;
1233
1269
  };
1234
1270
  x: typeof x_d_exports;
1235
1271
  "x-legacy": {
1236
1272
  plugins: string[];
1237
- rules: RulePreset;
1273
+ rules: Record<string, _eslint_react_kit68.RuleConfig<unknown[]>> | undefined;
1238
1274
  };
1239
1275
  };
1240
1276
  meta: {
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.156";
12
+ var version = "2.0.0-next.158";
13
13
 
14
14
  //#endregion
15
15
  //#region src/configs/dom.ts
@@ -469,7 +469,7 @@ const plugin = {
469
469
  ...react.rules,
470
470
  ...padKeysLeft(reactDom.rules, "dom/"),
471
471
  ...padKeysLeft(reactWebApi.rules, "web-api/"),
472
- ...padKeysLeft(reactHooksExtra, "hooks-extra/"),
472
+ ...padKeysLeft(reactHooksExtra.rules, "hooks-extra/"),
473
473
  ...padKeysLeft(reactNamingConvention.rules, "naming-convention/"),
474
474
  ...padKeysLeft(reactDebug.rules, "debug/")
475
475
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/eslint-plugin",
3
- "version": "2.0.0-next.156",
3
+ "version": "2.0.0-next.158",
4
4
  "description": "A unified plugin that combines all individual plugins from the eslint-react monorepo into one.",
5
5
  "keywords": [
6
6
  "react",
@@ -41,15 +41,15 @@
41
41
  "@typescript-eslint/type-utils": "^8.41.0",
42
42
  "@typescript-eslint/types": "^8.41.0",
43
43
  "@typescript-eslint/utils": "^8.41.0",
44
- "@eslint-react/eff": "2.0.0-next.156",
45
- "@eslint-react/shared": "2.0.0-next.156",
46
- "eslint-plugin-react-debug": "2.0.0-next.156",
47
- "eslint-plugin-react-dom": "2.0.0-next.156",
48
- "@eslint-react/kit": "2.0.0-next.156",
49
- "eslint-plugin-react-hooks-extra": "2.0.0-next.156",
50
- "eslint-plugin-react-naming-convention": "2.0.0-next.156",
51
- "eslint-plugin-react-web-api": "2.0.0-next.156",
52
- "eslint-plugin-react-x": "2.0.0-next.156"
44
+ "@eslint-react/eff": "2.0.0-next.158",
45
+ "@eslint-react/shared": "2.0.0-next.158",
46
+ "eslint-plugin-react-debug": "2.0.0-next.158",
47
+ "eslint-plugin-react-dom": "2.0.0-next.158",
48
+ "@eslint-react/kit": "2.0.0-next.158",
49
+ "eslint-plugin-react-naming-convention": "2.0.0-next.158",
50
+ "eslint-plugin-react-hooks-extra": "2.0.0-next.158",
51
+ "eslint-plugin-react-x": "2.0.0-next.158",
52
+ "eslint-plugin-react-web-api": "2.0.0-next.158"
53
53
  },
54
54
  "devDependencies": {
55
55
  "tsdown": "^0.14.2",