@eslint-react/eslint-plugin 2.0.3-next.0 → 2.0.4-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as _eslint_react_kit4 from "@eslint-react/kit";
1
+ import * as _eslint_react_kit0 from "@eslint-react/kit";
2
2
  import { RuleConfig } from "@eslint-react/kit";
3
3
 
4
4
  //#region src/configs/all.d.ts
@@ -100,14 +100,14 @@ declare const plugins$6: {
100
100
  plugins: {};
101
101
  name?: string;
102
102
  rules?: Record<string, RuleConfig>;
103
- settings?: _eslint_react_kit4.SettingsConfig;
103
+ settings?: _eslint_react_kit0.SettingsConfig;
104
104
  };
105
105
  };
106
106
  meta: {
107
107
  name: string;
108
108
  version: string;
109
109
  };
110
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
110
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
111
111
  };
112
112
  "@eslint-react/hooks-extra": {
113
113
  configs: {
@@ -115,14 +115,14 @@ declare const plugins$6: {
115
115
  plugins: {};
116
116
  name?: string;
117
117
  rules?: Record<string, RuleConfig>;
118
- settings?: _eslint_react_kit4.SettingsConfig;
118
+ settings?: _eslint_react_kit0.SettingsConfig;
119
119
  };
120
120
  };
121
121
  meta: {
122
122
  name: string;
123
123
  version: string;
124
124
  };
125
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
125
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
126
126
  };
127
127
  "@eslint-react/naming-convention": {
128
128
  configs: {
@@ -130,14 +130,14 @@ declare const plugins$6: {
130
130
  plugins: {};
131
131
  name?: string;
132
132
  rules?: Record<string, RuleConfig>;
133
- settings?: _eslint_react_kit4.SettingsConfig;
133
+ settings?: _eslint_react_kit0.SettingsConfig;
134
134
  };
135
135
  };
136
136
  meta: {
137
137
  name: string;
138
138
  version: string;
139
139
  };
140
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
140
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
141
141
  };
142
142
  "@eslint-react/web-api": {
143
143
  configs: {
@@ -145,14 +145,14 @@ declare const plugins$6: {
145
145
  plugins: {};
146
146
  name?: string;
147
147
  rules?: Record<string, RuleConfig>;
148
- settings?: _eslint_react_kit4.SettingsConfig;
148
+ settings?: _eslint_react_kit0.SettingsConfig;
149
149
  };
150
150
  };
151
151
  meta: {
152
152
  name: string;
153
153
  version: string;
154
154
  };
155
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
155
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
156
156
  };
157
157
  "@eslint-react/dom": {
158
158
  configs: {
@@ -160,14 +160,14 @@ declare const plugins$6: {
160
160
  plugins: {};
161
161
  name?: string;
162
162
  rules?: Record<string, RuleConfig>;
163
- settings?: _eslint_react_kit4.SettingsConfig;
163
+ settings?: _eslint_react_kit0.SettingsConfig;
164
164
  };
165
165
  };
166
166
  meta: {
167
167
  name: string;
168
168
  version: string;
169
169
  };
170
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
170
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
171
171
  };
172
172
  "@eslint-react": {
173
173
  configs: {
@@ -175,26 +175,26 @@ declare const plugins$6: {
175
175
  plugins: {};
176
176
  name?: string;
177
177
  rules?: Record<string, RuleConfig>;
178
- settings?: _eslint_react_kit4.SettingsConfig;
178
+ settings?: _eslint_react_kit0.SettingsConfig;
179
179
  };
180
180
  "recommended-type-checked": {
181
181
  plugins: {};
182
182
  name?: string;
183
183
  rules?: Record<string, RuleConfig>;
184
- settings?: _eslint_react_kit4.SettingsConfig;
184
+ settings?: _eslint_react_kit0.SettingsConfig;
185
185
  };
186
186
  "recommended-typescript": {
187
187
  plugins: {};
188
188
  name?: string;
189
189
  rules?: Record<string, RuleConfig>;
190
- settings?: _eslint_react_kit4.SettingsConfig;
190
+ settings?: _eslint_react_kit0.SettingsConfig;
191
191
  };
192
192
  };
193
193
  meta: {
194
194
  name: string;
195
195
  version: string;
196
196
  };
197
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
197
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
198
198
  };
199
199
  };
200
200
  declare const settings$5: {
@@ -222,14 +222,14 @@ declare const plugins$5: {
222
222
  plugins: {};
223
223
  name?: string;
224
224
  rules?: Record<string, RuleConfig>;
225
- settings?: _eslint_react_kit4.SettingsConfig;
225
+ settings?: _eslint_react_kit0.SettingsConfig;
226
226
  };
227
227
  };
228
228
  meta: {
229
229
  name: string;
230
230
  version: string;
231
231
  };
232
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
232
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
233
233
  };
234
234
  };
235
235
  declare namespace disable_conflict_eslint_plugin_react_d_exports {
@@ -285,14 +285,14 @@ declare const plugins$4: {
285
285
  plugins: {};
286
286
  name?: string;
287
287
  rules?: Record<string, RuleConfig>;
288
- settings?: _eslint_react_kit4.SettingsConfig;
288
+ settings?: _eslint_react_kit0.SettingsConfig;
289
289
  };
290
290
  };
291
291
  meta: {
292
292
  name: string;
293
293
  version: string;
294
294
  };
295
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
295
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
296
296
  };
297
297
  };
298
298
  declare const settings$4: {
@@ -312,7 +312,9 @@ declare namespace recommended_d_exports {
312
312
  }
313
313
  declare const name$3 = "@eslint-react/recommended";
314
314
  declare const rules$3: {
315
+ readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
315
316
  readonly "@eslint-react/naming-convention/context-name": "warn";
317
+ readonly "@eslint-react/naming-convention/use-state": "warn";
316
318
  readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
317
319
  readonly "@eslint-react/web-api/no-leaked-interval": "warn";
318
320
  readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
@@ -382,14 +384,14 @@ declare const plugins$3: {
382
384
  plugins: {};
383
385
  name?: string;
384
386
  rules?: Record<string, RuleConfig>;
385
- settings?: _eslint_react_kit4.SettingsConfig;
387
+ settings?: _eslint_react_kit0.SettingsConfig;
386
388
  };
387
389
  };
388
390
  meta: {
389
391
  name: string;
390
392
  version: string;
391
393
  };
392
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
394
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
393
395
  };
394
396
  "@eslint-react/hooks-extra": {
395
397
  configs: {
@@ -397,14 +399,14 @@ declare const plugins$3: {
397
399
  plugins: {};
398
400
  name?: string;
399
401
  rules?: Record<string, RuleConfig>;
400
- settings?: _eslint_react_kit4.SettingsConfig;
402
+ settings?: _eslint_react_kit0.SettingsConfig;
401
403
  };
402
404
  };
403
405
  meta: {
404
406
  name: string;
405
407
  version: string;
406
408
  };
407
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
409
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
408
410
  };
409
411
  "@eslint-react/naming-convention": {
410
412
  configs: {
@@ -412,14 +414,14 @@ declare const plugins$3: {
412
414
  plugins: {};
413
415
  name?: string;
414
416
  rules?: Record<string, RuleConfig>;
415
- settings?: _eslint_react_kit4.SettingsConfig;
417
+ settings?: _eslint_react_kit0.SettingsConfig;
416
418
  };
417
419
  };
418
420
  meta: {
419
421
  name: string;
420
422
  version: string;
421
423
  };
422
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
424
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
423
425
  };
424
426
  "@eslint-react/web-api": {
425
427
  configs: {
@@ -427,14 +429,14 @@ declare const plugins$3: {
427
429
  plugins: {};
428
430
  name?: string;
429
431
  rules?: Record<string, RuleConfig>;
430
- settings?: _eslint_react_kit4.SettingsConfig;
432
+ settings?: _eslint_react_kit0.SettingsConfig;
431
433
  };
432
434
  };
433
435
  meta: {
434
436
  name: string;
435
437
  version: string;
436
438
  };
437
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
439
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
438
440
  };
439
441
  "@eslint-react/dom": {
440
442
  configs: {
@@ -442,14 +444,14 @@ declare const plugins$3: {
442
444
  plugins: {};
443
445
  name?: string;
444
446
  rules?: Record<string, RuleConfig>;
445
- settings?: _eslint_react_kit4.SettingsConfig;
447
+ settings?: _eslint_react_kit0.SettingsConfig;
446
448
  };
447
449
  };
448
450
  meta: {
449
451
  name: string;
450
452
  version: string;
451
453
  };
452
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
454
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
453
455
  };
454
456
  "@eslint-react": {
455
457
  configs: {
@@ -457,26 +459,26 @@ declare const plugins$3: {
457
459
  plugins: {};
458
460
  name?: string;
459
461
  rules?: Record<string, RuleConfig>;
460
- settings?: _eslint_react_kit4.SettingsConfig;
462
+ settings?: _eslint_react_kit0.SettingsConfig;
461
463
  };
462
464
  "recommended-type-checked": {
463
465
  plugins: {};
464
466
  name?: string;
465
467
  rules?: Record<string, RuleConfig>;
466
- settings?: _eslint_react_kit4.SettingsConfig;
468
+ settings?: _eslint_react_kit0.SettingsConfig;
467
469
  };
468
470
  "recommended-typescript": {
469
471
  plugins: {};
470
472
  name?: string;
471
473
  rules?: Record<string, RuleConfig>;
472
- settings?: _eslint_react_kit4.SettingsConfig;
474
+ settings?: _eslint_react_kit0.SettingsConfig;
473
475
  };
474
476
  };
475
477
  meta: {
476
478
  name: string;
477
479
  version: string;
478
480
  };
479
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
481
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
480
482
  };
481
483
  };
482
484
  declare const settings$3: {
@@ -498,7 +500,9 @@ declare const rules$2: {
498
500
  readonly "@eslint-react/jsx-no-duplicate-props": "off";
499
501
  readonly "@eslint-react/jsx-uses-react": "off";
500
502
  readonly "@eslint-react/jsx-uses-vars": "off";
503
+ readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
501
504
  readonly "@eslint-react/naming-convention/context-name": "warn";
505
+ readonly "@eslint-react/naming-convention/use-state": "warn";
502
506
  readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
503
507
  readonly "@eslint-react/web-api/no-leaked-interval": "warn";
504
508
  readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
@@ -565,14 +569,14 @@ declare const plugins$2: {
565
569
  plugins: {};
566
570
  name?: string;
567
571
  rules?: Record<string, RuleConfig>;
568
- settings?: _eslint_react_kit4.SettingsConfig;
572
+ settings?: _eslint_react_kit0.SettingsConfig;
569
573
  };
570
574
  };
571
575
  meta: {
572
576
  name: string;
573
577
  version: string;
574
578
  };
575
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
579
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
576
580
  };
577
581
  "@eslint-react/hooks-extra": {
578
582
  configs: {
@@ -580,14 +584,14 @@ declare const plugins$2: {
580
584
  plugins: {};
581
585
  name?: string;
582
586
  rules?: Record<string, RuleConfig>;
583
- settings?: _eslint_react_kit4.SettingsConfig;
587
+ settings?: _eslint_react_kit0.SettingsConfig;
584
588
  };
585
589
  };
586
590
  meta: {
587
591
  name: string;
588
592
  version: string;
589
593
  };
590
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
594
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
591
595
  };
592
596
  "@eslint-react/naming-convention": {
593
597
  configs: {
@@ -595,14 +599,14 @@ declare const plugins$2: {
595
599
  plugins: {};
596
600
  name?: string;
597
601
  rules?: Record<string, RuleConfig>;
598
- settings?: _eslint_react_kit4.SettingsConfig;
602
+ settings?: _eslint_react_kit0.SettingsConfig;
599
603
  };
600
604
  };
601
605
  meta: {
602
606
  name: string;
603
607
  version: string;
604
608
  };
605
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
609
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
606
610
  };
607
611
  "@eslint-react/web-api": {
608
612
  configs: {
@@ -610,14 +614,14 @@ declare const plugins$2: {
610
614
  plugins: {};
611
615
  name?: string;
612
616
  rules?: Record<string, RuleConfig>;
613
- settings?: _eslint_react_kit4.SettingsConfig;
617
+ settings?: _eslint_react_kit0.SettingsConfig;
614
618
  };
615
619
  };
616
620
  meta: {
617
621
  name: string;
618
622
  version: string;
619
623
  };
620
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
624
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
621
625
  };
622
626
  "@eslint-react/dom": {
623
627
  configs: {
@@ -625,14 +629,14 @@ declare const plugins$2: {
625
629
  plugins: {};
626
630
  name?: string;
627
631
  rules?: Record<string, RuleConfig>;
628
- settings?: _eslint_react_kit4.SettingsConfig;
632
+ settings?: _eslint_react_kit0.SettingsConfig;
629
633
  };
630
634
  };
631
635
  meta: {
632
636
  name: string;
633
637
  version: string;
634
638
  };
635
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
639
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
636
640
  };
637
641
  "@eslint-react": {
638
642
  configs: {
@@ -640,26 +644,26 @@ declare const plugins$2: {
640
644
  plugins: {};
641
645
  name?: string;
642
646
  rules?: Record<string, RuleConfig>;
643
- settings?: _eslint_react_kit4.SettingsConfig;
647
+ settings?: _eslint_react_kit0.SettingsConfig;
644
648
  };
645
649
  "recommended-type-checked": {
646
650
  plugins: {};
647
651
  name?: string;
648
652
  rules?: Record<string, RuleConfig>;
649
- settings?: _eslint_react_kit4.SettingsConfig;
653
+ settings?: _eslint_react_kit0.SettingsConfig;
650
654
  };
651
655
  "recommended-typescript": {
652
656
  plugins: {};
653
657
  name?: string;
654
658
  rules?: Record<string, RuleConfig>;
655
- settings?: _eslint_react_kit4.SettingsConfig;
659
+ settings?: _eslint_react_kit0.SettingsConfig;
656
660
  };
657
661
  };
658
662
  meta: {
659
663
  name: string;
660
664
  version: string;
661
665
  };
662
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
666
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
663
667
  };
664
668
  };
665
669
  declare const settings$2: {
@@ -679,7 +683,9 @@ declare const rules$1: {
679
683
  readonly "@eslint-react/jsx-no-duplicate-props": "off";
680
684
  readonly "@eslint-react/jsx-uses-react": "off";
681
685
  readonly "@eslint-react/jsx-uses-vars": "off";
686
+ readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
682
687
  readonly "@eslint-react/naming-convention/context-name": "warn";
688
+ readonly "@eslint-react/naming-convention/use-state": "warn";
683
689
  readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
684
690
  readonly "@eslint-react/web-api/no-leaked-interval": "warn";
685
691
  readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
@@ -746,14 +752,14 @@ declare const plugins$1: {
746
752
  plugins: {};
747
753
  name?: string;
748
754
  rules?: Record<string, RuleConfig>;
749
- settings?: _eslint_react_kit4.SettingsConfig;
755
+ settings?: _eslint_react_kit0.SettingsConfig;
750
756
  };
751
757
  };
752
758
  meta: {
753
759
  name: string;
754
760
  version: string;
755
761
  };
756
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
762
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
757
763
  };
758
764
  "@eslint-react/hooks-extra": {
759
765
  configs: {
@@ -761,14 +767,14 @@ declare const plugins$1: {
761
767
  plugins: {};
762
768
  name?: string;
763
769
  rules?: Record<string, RuleConfig>;
764
- settings?: _eslint_react_kit4.SettingsConfig;
770
+ settings?: _eslint_react_kit0.SettingsConfig;
765
771
  };
766
772
  };
767
773
  meta: {
768
774
  name: string;
769
775
  version: string;
770
776
  };
771
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
777
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
772
778
  };
773
779
  "@eslint-react/naming-convention": {
774
780
  configs: {
@@ -776,14 +782,14 @@ declare const plugins$1: {
776
782
  plugins: {};
777
783
  name?: string;
778
784
  rules?: Record<string, RuleConfig>;
779
- settings?: _eslint_react_kit4.SettingsConfig;
785
+ settings?: _eslint_react_kit0.SettingsConfig;
780
786
  };
781
787
  };
782
788
  meta: {
783
789
  name: string;
784
790
  version: string;
785
791
  };
786
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
792
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
787
793
  };
788
794
  "@eslint-react/web-api": {
789
795
  configs: {
@@ -791,14 +797,14 @@ declare const plugins$1: {
791
797
  plugins: {};
792
798
  name?: string;
793
799
  rules?: Record<string, RuleConfig>;
794
- settings?: _eslint_react_kit4.SettingsConfig;
800
+ settings?: _eslint_react_kit0.SettingsConfig;
795
801
  };
796
802
  };
797
803
  meta: {
798
804
  name: string;
799
805
  version: string;
800
806
  };
801
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
807
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
802
808
  };
803
809
  "@eslint-react/dom": {
804
810
  configs: {
@@ -806,14 +812,14 @@ declare const plugins$1: {
806
812
  plugins: {};
807
813
  name?: string;
808
814
  rules?: Record<string, RuleConfig>;
809
- settings?: _eslint_react_kit4.SettingsConfig;
815
+ settings?: _eslint_react_kit0.SettingsConfig;
810
816
  };
811
817
  };
812
818
  meta: {
813
819
  name: string;
814
820
  version: string;
815
821
  };
816
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
822
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
817
823
  };
818
824
  "@eslint-react": {
819
825
  configs: {
@@ -821,26 +827,26 @@ declare const plugins$1: {
821
827
  plugins: {};
822
828
  name?: string;
823
829
  rules?: Record<string, RuleConfig>;
824
- settings?: _eslint_react_kit4.SettingsConfig;
830
+ settings?: _eslint_react_kit0.SettingsConfig;
825
831
  };
826
832
  "recommended-type-checked": {
827
833
  plugins: {};
828
834
  name?: string;
829
835
  rules?: Record<string, RuleConfig>;
830
- settings?: _eslint_react_kit4.SettingsConfig;
836
+ settings?: _eslint_react_kit0.SettingsConfig;
831
837
  };
832
838
  "recommended-typescript": {
833
839
  plugins: {};
834
840
  name?: string;
835
841
  rules?: Record<string, RuleConfig>;
836
- settings?: _eslint_react_kit4.SettingsConfig;
842
+ settings?: _eslint_react_kit0.SettingsConfig;
837
843
  };
838
844
  };
839
845
  meta: {
840
846
  name: string;
841
847
  version: string;
842
848
  };
843
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
849
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
844
850
  };
845
851
  };
846
852
  declare const settings$1: {
@@ -905,26 +911,26 @@ declare const plugins: {
905
911
  plugins: {};
906
912
  name?: string;
907
913
  rules?: Record<string, RuleConfig>;
908
- settings?: _eslint_react_kit4.SettingsConfig;
914
+ settings?: _eslint_react_kit0.SettingsConfig;
909
915
  };
910
916
  "recommended-type-checked": {
911
917
  plugins: {};
912
918
  name?: string;
913
919
  rules?: Record<string, RuleConfig>;
914
- settings?: _eslint_react_kit4.SettingsConfig;
920
+ settings?: _eslint_react_kit0.SettingsConfig;
915
921
  };
916
922
  "recommended-typescript": {
917
923
  plugins: {};
918
924
  name?: string;
919
925
  rules?: Record<string, RuleConfig>;
920
- settings?: _eslint_react_kit4.SettingsConfig;
926
+ settings?: _eslint_react_kit0.SettingsConfig;
921
927
  };
922
928
  };
923
929
  meta: {
924
930
  name: string;
925
931
  version: string;
926
932
  };
927
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
933
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
928
934
  };
929
935
  };
930
936
  declare const settings: {
@@ -956,7 +962,7 @@ declare const _default: {
956
962
  name: string;
957
963
  version: string;
958
964
  };
959
- rules: Record<string, _eslint_react_kit4.CompatibleRule>;
965
+ rules: Record<string, _eslint_react_kit0.CompatibleRule>;
960
966
  };
961
967
  //#endregion
962
968
  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.3-next.0";
12
+ var version = "2.0.4-beta.0";
13
13
 
14
14
  //#endregion
15
15
  //#region src/configs/dom.ts
@@ -352,7 +352,9 @@ const rules$2 = {
352
352
  ...rules$13,
353
353
  ...rules$8,
354
354
  ...rules$6,
355
- "@eslint-react/naming-convention/context-name": "warn"
355
+ "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn",
356
+ "@eslint-react/naming-convention/context-name": "warn",
357
+ "@eslint-react/naming-convention/use-state": "warn"
356
358
  };
357
359
  const plugins$2 = {
358
360
  ...plugins$6,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/eslint-plugin",
3
- "version": "2.0.3-next.0",
3
+ "version": "2.0.4-beta.0",
4
4
  "description": "A unified plugin that combines all individual plugins from the eslint-react monorepo into one.",
5
5
  "keywords": [
6
6
  "react",
@@ -42,15 +42,15 @@
42
42
  "@typescript-eslint/types": "^8.45.0",
43
43
  "@typescript-eslint/utils": "^8.45.0",
44
44
  "ts-api-utils": "^2.1.0",
45
- "@eslint-react/eff": "2.0.3-next.0",
46
- "@eslint-react/kit": "2.0.3-next.0",
47
- "eslint-plugin-react-debug": "2.0.3-next.0",
48
- "@eslint-react/shared": "2.0.3-next.0",
49
- "eslint-plugin-react-dom": "2.0.3-next.0",
50
- "eslint-plugin-react-naming-convention": "2.0.3-next.0",
51
- "eslint-plugin-react-web-api": "2.0.3-next.0",
52
- "eslint-plugin-react-hooks-extra": "2.0.3-next.0",
53
- "eslint-plugin-react-x": "2.0.3-next.0"
45
+ "@eslint-react/kit": "2.0.4-beta.0",
46
+ "@eslint-react/eff": "2.0.4-beta.0",
47
+ "eslint-plugin-react-dom": "2.0.4-beta.0",
48
+ "eslint-plugin-react-debug": "2.0.4-beta.0",
49
+ "eslint-plugin-react-hooks-extra": "2.0.4-beta.0",
50
+ "eslint-plugin-react-naming-convention": "2.0.4-beta.0",
51
+ "eslint-plugin-react-x": "2.0.4-beta.0",
52
+ "@eslint-react/shared": "2.0.4-beta.0",
53
+ "eslint-plugin-react-web-api": "2.0.4-beta.0"
54
54
  },
55
55
  "devDependencies": {
56
56
  "tsdown": "^0.15.5",