@eslint-react/eslint-plugin 2.0.5 → 2.0.6-beta.1

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
@@ -34,8 +34,10 @@ declare const rules$12: {
34
34
  readonly "@eslint-react/no-default-props": "error";
35
35
  readonly "@eslint-react/no-direct-mutation-state": "error";
36
36
  readonly "@eslint-react/no-duplicate-key": "error";
37
+ readonly "@eslint-react/no-forbidden-props": "off";
37
38
  readonly "@eslint-react/no-forward-ref": "warn";
38
39
  readonly "@eslint-react/no-implicit-key": "warn";
40
+ readonly "@eslint-react/no-leaked-conditional-rendering": "off";
39
41
  readonly "@eslint-react/no-missing-component-display-name": "warn";
40
42
  readonly "@eslint-react/no-missing-context-display-name": "warn";
41
43
  readonly "@eslint-react/no-missing-key": "error";
@@ -58,15 +60,15 @@ declare const rules$12: {
58
60
  readonly "@eslint-react/no-unstable-context-value": "warn";
59
61
  readonly "@eslint-react/no-unstable-default-props": "warn";
60
62
  readonly "@eslint-react/no-unused-class-component-members": "warn";
63
+ readonly "@eslint-react/no-unused-props": "off";
61
64
  readonly "@eslint-react/no-unused-state": "warn";
62
65
  readonly "@eslint-react/no-use-context": "warn";
63
66
  readonly "@eslint-react/no-useless-forward-ref": "warn";
64
67
  readonly "@eslint-react/no-useless-fragment": "warn";
65
68
  readonly "@eslint-react/prefer-destructuring-assignment": "warn";
66
69
  readonly "@eslint-react/prefer-namespace-import": "warn";
70
+ readonly "@eslint-react/prefer-read-only-props": "off";
67
71
  readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
68
- readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
69
- readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect": "warn";
70
72
  readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
71
73
  readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
72
74
  readonly "@eslint-react/dom/no-find-dom-node": "error";
@@ -78,19 +80,22 @@ declare const rules$12: {
78
80
  readonly "@eslint-react/dom/no-render": "error";
79
81
  readonly "@eslint-react/dom/no-render-return-value": "error";
80
82
  readonly "@eslint-react/dom/no-script-url": "warn";
83
+ readonly "@eslint-react/dom/no-string-style-prop": "error";
81
84
  readonly "@eslint-react/dom/no-unknown-property": "warn";
82
85
  readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
83
86
  readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
84
- readonly "@eslint-react/dom/no-use-form-state": "error";
87
+ readonly "@eslint-react/dom/no-use-form-state": "warn";
85
88
  readonly "@eslint-react/dom/no-void-elements-with-children": "error";
89
+ readonly "@eslint-react/dom/prefer-namespace-import": "warn";
86
90
  readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
87
91
  readonly "@eslint-react/web-api/no-leaked-interval": "warn";
88
92
  readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
89
93
  readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
94
+ readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
90
95
  readonly "@eslint-react/naming-convention/component-name": "warn";
91
96
  readonly "@eslint-react/naming-convention/context-name": "warn";
92
- readonly "@eslint-react/naming-convention/filename": "warn";
93
- readonly "@eslint-react/naming-convention/filename-extension": "warn";
97
+ readonly "@eslint-react/naming-convention/filename": "off";
98
+ readonly "@eslint-react/naming-convention/filename-extension": "off";
94
99
  readonly "@eslint-react/naming-convention/use-state": "warn";
95
100
  };
96
101
  declare const plugins$6: {
@@ -336,6 +341,10 @@ declare const rules$3: {
336
341
  readonly "@eslint-react/dom/no-void-elements-with-children": "error";
337
342
  readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
338
343
  readonly "@eslint-react/jsx-no-duplicate-props": "warn";
344
+ readonly "@eslint-react/jsx-no-iife": "off";
345
+ readonly "@eslint-react/jsx-no-undef": "off";
346
+ readonly "@eslint-react/jsx-shorthand-boolean": "off";
347
+ readonly "@eslint-react/jsx-shorthand-fragment": "off";
339
348
  readonly "@eslint-react/jsx-uses-react": "warn";
340
349
  readonly "@eslint-react/jsx-uses-vars": "warn";
341
350
  readonly "@eslint-react/no-access-state-in-setstate": "error";
@@ -344,7 +353,9 @@ declare const rules$3: {
344
353
  readonly "@eslint-react/no-children-for-each": "warn";
345
354
  readonly "@eslint-react/no-children-map": "warn";
346
355
  readonly "@eslint-react/no-children-only": "warn";
356
+ readonly "@eslint-react/no-children-prop": "off";
347
357
  readonly "@eslint-react/no-children-to-array": "warn";
358
+ readonly "@eslint-react/no-class-component": "off";
348
359
  readonly "@eslint-react/no-clone-element": "warn";
349
360
  readonly "@eslint-react/no-component-will-mount": "error";
350
361
  readonly "@eslint-react/no-component-will-receive-props": "error";
@@ -354,9 +365,14 @@ declare const rules$3: {
354
365
  readonly "@eslint-react/no-default-props": "error";
355
366
  readonly "@eslint-react/no-direct-mutation-state": "error";
356
367
  readonly "@eslint-react/no-duplicate-key": "error";
368
+ readonly "@eslint-react/no-forbidden-props": "off";
357
369
  readonly "@eslint-react/no-forward-ref": "warn";
358
370
  readonly "@eslint-react/no-implicit-key": "warn";
371
+ readonly "@eslint-react/no-leaked-conditional-rendering": "off";
372
+ readonly "@eslint-react/no-missing-component-display-name": "off";
373
+ readonly "@eslint-react/no-missing-context-display-name": "off";
359
374
  readonly "@eslint-react/no-missing-key": "error";
375
+ readonly "@eslint-react/no-misused-capture-owner-stack": "off";
360
376
  readonly "@eslint-react/no-nested-component-definitions": "error";
361
377
  readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
362
378
  readonly "@eslint-react/no-prop-types": "error";
@@ -365,6 +381,9 @@ declare const rules$3: {
365
381
  readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
366
382
  readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
367
383
  readonly "@eslint-react/no-string-refs": "error";
384
+ readonly "@eslint-react/no-unnecessary-key": "off";
385
+ readonly "@eslint-react/no-unnecessary-use-callback": "off";
386
+ readonly "@eslint-react/no-unnecessary-use-memo": "off";
368
387
  readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
369
388
  readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
370
389
  readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
@@ -372,9 +391,14 @@ declare const rules$3: {
372
391
  readonly "@eslint-react/no-unstable-context-value": "warn";
373
392
  readonly "@eslint-react/no-unstable-default-props": "warn";
374
393
  readonly "@eslint-react/no-unused-class-component-members": "warn";
394
+ readonly "@eslint-react/no-unused-props": "off";
375
395
  readonly "@eslint-react/no-unused-state": "warn";
376
396
  readonly "@eslint-react/no-use-context": "warn";
377
397
  readonly "@eslint-react/no-useless-forward-ref": "warn";
398
+ readonly "@eslint-react/no-useless-fragment": "off";
399
+ readonly "@eslint-react/prefer-destructuring-assignment": "off";
400
+ readonly "@eslint-react/prefer-namespace-import": "off";
401
+ readonly "@eslint-react/prefer-read-only-props": "off";
378
402
  readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
379
403
  };
380
404
  declare const plugins$3: {
@@ -523,13 +547,19 @@ declare const rules$2: {
523
547
  readonly "@eslint-react/dom/no-use-form-state": "error";
524
548
  readonly "@eslint-react/dom/no-void-elements-with-children": "error";
525
549
  readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
550
+ readonly "@eslint-react/jsx-no-iife": "off";
551
+ readonly "@eslint-react/jsx-no-undef": "off";
552
+ readonly "@eslint-react/jsx-shorthand-boolean": "off";
553
+ readonly "@eslint-react/jsx-shorthand-fragment": "off";
526
554
  readonly "@eslint-react/no-access-state-in-setstate": "error";
527
555
  readonly "@eslint-react/no-array-index-key": "warn";
528
556
  readonly "@eslint-react/no-children-count": "warn";
529
557
  readonly "@eslint-react/no-children-for-each": "warn";
530
558
  readonly "@eslint-react/no-children-map": "warn";
531
559
  readonly "@eslint-react/no-children-only": "warn";
560
+ readonly "@eslint-react/no-children-prop": "off";
532
561
  readonly "@eslint-react/no-children-to-array": "warn";
562
+ readonly "@eslint-react/no-class-component": "off";
533
563
  readonly "@eslint-react/no-clone-element": "warn";
534
564
  readonly "@eslint-react/no-component-will-mount": "error";
535
565
  readonly "@eslint-react/no-component-will-receive-props": "error";
@@ -539,9 +569,13 @@ declare const rules$2: {
539
569
  readonly "@eslint-react/no-default-props": "error";
540
570
  readonly "@eslint-react/no-direct-mutation-state": "error";
541
571
  readonly "@eslint-react/no-duplicate-key": "error";
572
+ readonly "@eslint-react/no-forbidden-props": "off";
542
573
  readonly "@eslint-react/no-forward-ref": "warn";
543
574
  readonly "@eslint-react/no-implicit-key": "warn";
575
+ readonly "@eslint-react/no-missing-component-display-name": "off";
576
+ readonly "@eslint-react/no-missing-context-display-name": "off";
544
577
  readonly "@eslint-react/no-missing-key": "error";
578
+ readonly "@eslint-react/no-misused-capture-owner-stack": "off";
545
579
  readonly "@eslint-react/no-nested-component-definitions": "error";
546
580
  readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
547
581
  readonly "@eslint-react/no-prop-types": "error";
@@ -550,6 +584,9 @@ declare const rules$2: {
550
584
  readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
551
585
  readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
552
586
  readonly "@eslint-react/no-string-refs": "error";
587
+ readonly "@eslint-react/no-unnecessary-key": "off";
588
+ readonly "@eslint-react/no-unnecessary-use-callback": "off";
589
+ readonly "@eslint-react/no-unnecessary-use-memo": "off";
553
590
  readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
554
591
  readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
555
592
  readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
@@ -560,6 +597,10 @@ declare const rules$2: {
560
597
  readonly "@eslint-react/no-unused-state": "warn";
561
598
  readonly "@eslint-react/no-use-context": "warn";
562
599
  readonly "@eslint-react/no-useless-forward-ref": "warn";
600
+ readonly "@eslint-react/no-useless-fragment": "off";
601
+ readonly "@eslint-react/prefer-destructuring-assignment": "off";
602
+ readonly "@eslint-react/prefer-namespace-import": "off";
603
+ readonly "@eslint-react/prefer-read-only-props": "off";
563
604
  readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
564
605
  };
565
606
  declare const plugins$2: {
@@ -706,13 +747,19 @@ declare const rules$1: {
706
747
  readonly "@eslint-react/dom/no-use-form-state": "error";
707
748
  readonly "@eslint-react/dom/no-void-elements-with-children": "error";
708
749
  readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
750
+ readonly "@eslint-react/jsx-no-iife": "off";
751
+ readonly "@eslint-react/jsx-no-undef": "off";
752
+ readonly "@eslint-react/jsx-shorthand-boolean": "off";
753
+ readonly "@eslint-react/jsx-shorthand-fragment": "off";
709
754
  readonly "@eslint-react/no-access-state-in-setstate": "error";
710
755
  readonly "@eslint-react/no-array-index-key": "warn";
711
756
  readonly "@eslint-react/no-children-count": "warn";
712
757
  readonly "@eslint-react/no-children-for-each": "warn";
713
758
  readonly "@eslint-react/no-children-map": "warn";
714
759
  readonly "@eslint-react/no-children-only": "warn";
760
+ readonly "@eslint-react/no-children-prop": "off";
715
761
  readonly "@eslint-react/no-children-to-array": "warn";
762
+ readonly "@eslint-react/no-class-component": "off";
716
763
  readonly "@eslint-react/no-clone-element": "warn";
717
764
  readonly "@eslint-react/no-component-will-mount": "error";
718
765
  readonly "@eslint-react/no-component-will-receive-props": "error";
@@ -722,9 +769,14 @@ declare const rules$1: {
722
769
  readonly "@eslint-react/no-default-props": "error";
723
770
  readonly "@eslint-react/no-direct-mutation-state": "error";
724
771
  readonly "@eslint-react/no-duplicate-key": "error";
772
+ readonly "@eslint-react/no-forbidden-props": "off";
725
773
  readonly "@eslint-react/no-forward-ref": "warn";
726
774
  readonly "@eslint-react/no-implicit-key": "warn";
775
+ readonly "@eslint-react/no-leaked-conditional-rendering": "off";
776
+ readonly "@eslint-react/no-missing-component-display-name": "off";
777
+ readonly "@eslint-react/no-missing-context-display-name": "off";
727
778
  readonly "@eslint-react/no-missing-key": "error";
779
+ readonly "@eslint-react/no-misused-capture-owner-stack": "off";
728
780
  readonly "@eslint-react/no-nested-component-definitions": "error";
729
781
  readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
730
782
  readonly "@eslint-react/no-prop-types": "error";
@@ -733,6 +785,9 @@ declare const rules$1: {
733
785
  readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
734
786
  readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
735
787
  readonly "@eslint-react/no-string-refs": "error";
788
+ readonly "@eslint-react/no-unnecessary-key": "off";
789
+ readonly "@eslint-react/no-unnecessary-use-callback": "off";
790
+ readonly "@eslint-react/no-unnecessary-use-memo": "off";
736
791
  readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
737
792
  readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
738
793
  readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
@@ -740,9 +795,14 @@ declare const rules$1: {
740
795
  readonly "@eslint-react/no-unstable-context-value": "warn";
741
796
  readonly "@eslint-react/no-unstable-default-props": "warn";
742
797
  readonly "@eslint-react/no-unused-class-component-members": "warn";
798
+ readonly "@eslint-react/no-unused-props": "off";
743
799
  readonly "@eslint-react/no-unused-state": "warn";
744
800
  readonly "@eslint-react/no-use-context": "warn";
745
801
  readonly "@eslint-react/no-useless-forward-ref": "warn";
802
+ readonly "@eslint-react/no-useless-fragment": "off";
803
+ readonly "@eslint-react/prefer-destructuring-assignment": "off";
804
+ readonly "@eslint-react/prefer-namespace-import": "off";
805
+ readonly "@eslint-react/prefer-read-only-props": "off";
746
806
  readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
747
807
  };
748
808
  declare const plugins$1: {
@@ -863,6 +923,10 @@ declare const name = "@eslint-react/x";
863
923
  declare const rules: {
864
924
  readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
865
925
  readonly "@eslint-react/jsx-no-duplicate-props": "warn";
926
+ readonly "@eslint-react/jsx-no-iife": "off";
927
+ readonly "@eslint-react/jsx-no-undef": "off";
928
+ readonly "@eslint-react/jsx-shorthand-boolean": "off";
929
+ readonly "@eslint-react/jsx-shorthand-fragment": "off";
866
930
  readonly "@eslint-react/jsx-uses-react": "warn";
867
931
  readonly "@eslint-react/jsx-uses-vars": "warn";
868
932
  readonly "@eslint-react/no-access-state-in-setstate": "error";
@@ -871,7 +935,9 @@ declare const rules: {
871
935
  readonly "@eslint-react/no-children-for-each": "warn";
872
936
  readonly "@eslint-react/no-children-map": "warn";
873
937
  readonly "@eslint-react/no-children-only": "warn";
938
+ readonly "@eslint-react/no-children-prop": "off";
874
939
  readonly "@eslint-react/no-children-to-array": "warn";
940
+ readonly "@eslint-react/no-class-component": "off";
875
941
  readonly "@eslint-react/no-clone-element": "warn";
876
942
  readonly "@eslint-react/no-component-will-mount": "error";
877
943
  readonly "@eslint-react/no-component-will-receive-props": "error";
@@ -881,9 +947,14 @@ declare const rules: {
881
947
  readonly "@eslint-react/no-default-props": "error";
882
948
  readonly "@eslint-react/no-direct-mutation-state": "error";
883
949
  readonly "@eslint-react/no-duplicate-key": "error";
950
+ readonly "@eslint-react/no-forbidden-props": "off";
884
951
  readonly "@eslint-react/no-forward-ref": "warn";
885
952
  readonly "@eslint-react/no-implicit-key": "warn";
953
+ readonly "@eslint-react/no-leaked-conditional-rendering": "off";
954
+ readonly "@eslint-react/no-missing-component-display-name": "off";
955
+ readonly "@eslint-react/no-missing-context-display-name": "off";
886
956
  readonly "@eslint-react/no-missing-key": "error";
957
+ readonly "@eslint-react/no-misused-capture-owner-stack": "off";
887
958
  readonly "@eslint-react/no-nested-component-definitions": "error";
888
959
  readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
889
960
  readonly "@eslint-react/no-prop-types": "error";
@@ -892,6 +963,9 @@ declare const rules: {
892
963
  readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
893
964
  readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
894
965
  readonly "@eslint-react/no-string-refs": "error";
966
+ readonly "@eslint-react/no-unnecessary-key": "off";
967
+ readonly "@eslint-react/no-unnecessary-use-callback": "off";
968
+ readonly "@eslint-react/no-unnecessary-use-memo": "off";
895
969
  readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
896
970
  readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
897
971
  readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
@@ -899,9 +973,14 @@ declare const rules: {
899
973
  readonly "@eslint-react/no-unstable-context-value": "warn";
900
974
  readonly "@eslint-react/no-unstable-default-props": "warn";
901
975
  readonly "@eslint-react/no-unused-class-component-members": "warn";
976
+ readonly "@eslint-react/no-unused-props": "off";
902
977
  readonly "@eslint-react/no-unused-state": "warn";
903
978
  readonly "@eslint-react/no-use-context": "warn";
904
979
  readonly "@eslint-react/no-useless-forward-ref": "warn";
980
+ readonly "@eslint-react/no-useless-fragment": "off";
981
+ readonly "@eslint-react/prefer-destructuring-assignment": "off";
982
+ readonly "@eslint-react/prefer-namespace-import": "off";
983
+ readonly "@eslint-react/prefer-read-only-props": "off";
905
984
  readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
906
985
  };
907
986
  declare const plugins: {
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.5";
12
+ var version = "2.0.6-beta.1";
13
13
 
14
14
  //#endregion
15
15
  //#region src/configs/dom.ts
@@ -52,6 +52,10 @@ const name$12 = "@eslint-react/x";
52
52
  const rules$13 = {
53
53
  "@eslint-react/jsx-no-comment-textnodes": "warn",
54
54
  "@eslint-react/jsx-no-duplicate-props": "warn",
55
+ "@eslint-react/jsx-no-iife": "off",
56
+ "@eslint-react/jsx-no-undef": "off",
57
+ "@eslint-react/jsx-shorthand-boolean": "off",
58
+ "@eslint-react/jsx-shorthand-fragment": "off",
55
59
  "@eslint-react/jsx-uses-react": "warn",
56
60
  "@eslint-react/jsx-uses-vars": "warn",
57
61
  "@eslint-react/no-access-state-in-setstate": "error",
@@ -60,7 +64,9 @@ const rules$13 = {
60
64
  "@eslint-react/no-children-for-each": "warn",
61
65
  "@eslint-react/no-children-map": "warn",
62
66
  "@eslint-react/no-children-only": "warn",
67
+ "@eslint-react/no-children-prop": "off",
63
68
  "@eslint-react/no-children-to-array": "warn",
69
+ "@eslint-react/no-class-component": "off",
64
70
  "@eslint-react/no-clone-element": "warn",
65
71
  "@eslint-react/no-component-will-mount": "error",
66
72
  "@eslint-react/no-component-will-receive-props": "error",
@@ -70,9 +76,14 @@ const rules$13 = {
70
76
  "@eslint-react/no-default-props": "error",
71
77
  "@eslint-react/no-direct-mutation-state": "error",
72
78
  "@eslint-react/no-duplicate-key": "error",
79
+ "@eslint-react/no-forbidden-props": "off",
73
80
  "@eslint-react/no-forward-ref": "warn",
74
81
  "@eslint-react/no-implicit-key": "warn",
82
+ "@eslint-react/no-leaked-conditional-rendering": "off",
83
+ "@eslint-react/no-missing-component-display-name": "off",
84
+ "@eslint-react/no-missing-context-display-name": "off",
75
85
  "@eslint-react/no-missing-key": "error",
86
+ "@eslint-react/no-misused-capture-owner-stack": "off",
76
87
  "@eslint-react/no-nested-component-definitions": "error",
77
88
  "@eslint-react/no-nested-lazy-component-declarations": "error",
78
89
  "@eslint-react/no-prop-types": "error",
@@ -81,6 +92,9 @@ const rules$13 = {
81
92
  "@eslint-react/no-set-state-in-component-did-update": "warn",
82
93
  "@eslint-react/no-set-state-in-component-will-update": "warn",
83
94
  "@eslint-react/no-string-refs": "error",
95
+ "@eslint-react/no-unnecessary-key": "off",
96
+ "@eslint-react/no-unnecessary-use-callback": "off",
97
+ "@eslint-react/no-unnecessary-use-memo": "off",
84
98
  "@eslint-react/no-unnecessary-use-prefix": "warn",
85
99
  "@eslint-react/no-unsafe-component-will-mount": "warn",
86
100
  "@eslint-react/no-unsafe-component-will-receive-props": "warn",
@@ -88,9 +102,14 @@ const rules$13 = {
88
102
  "@eslint-react/no-unstable-context-value": "warn",
89
103
  "@eslint-react/no-unstable-default-props": "warn",
90
104
  "@eslint-react/no-unused-class-component-members": "warn",
105
+ "@eslint-react/no-unused-props": "off",
91
106
  "@eslint-react/no-unused-state": "warn",
92
107
  "@eslint-react/no-use-context": "warn",
93
108
  "@eslint-react/no-useless-forward-ref": "warn",
109
+ "@eslint-react/no-useless-fragment": "off",
110
+ "@eslint-react/prefer-destructuring-assignment": "off",
111
+ "@eslint-react/prefer-namespace-import": "off",
112
+ "@eslint-react/prefer-read-only-props": "off",
94
113
  "@eslint-react/prefer-use-state-lazy-initialization": "warn"
95
114
  };
96
115
  const plugins$6 = { "@eslint-react": react };
@@ -133,8 +152,10 @@ const rules$3 = {
133
152
  "@eslint-react/no-default-props": "error",
134
153
  "@eslint-react/no-direct-mutation-state": "error",
135
154
  "@eslint-react/no-duplicate-key": "error",
155
+ "@eslint-react/no-forbidden-props": "off",
136
156
  "@eslint-react/no-forward-ref": "warn",
137
157
  "@eslint-react/no-implicit-key": "warn",
158
+ "@eslint-react/no-leaked-conditional-rendering": "off",
138
159
  "@eslint-react/no-missing-component-display-name": "warn",
139
160
  "@eslint-react/no-missing-context-display-name": "warn",
140
161
  "@eslint-react/no-missing-key": "error",
@@ -157,15 +178,15 @@ const rules$3 = {
157
178
  "@eslint-react/no-unstable-context-value": "warn",
158
179
  "@eslint-react/no-unstable-default-props": "warn",
159
180
  "@eslint-react/no-unused-class-component-members": "warn",
181
+ "@eslint-react/no-unused-props": "off",
160
182
  "@eslint-react/no-unused-state": "warn",
161
183
  "@eslint-react/no-use-context": "warn",
162
184
  "@eslint-react/no-useless-forward-ref": "warn",
163
185
  "@eslint-react/no-useless-fragment": "warn",
164
186
  "@eslint-react/prefer-destructuring-assignment": "warn",
165
187
  "@eslint-react/prefer-namespace-import": "warn",
188
+ "@eslint-react/prefer-read-only-props": "off",
166
189
  "@eslint-react/prefer-use-state-lazy-initialization": "warn",
167
- "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn",
168
- "@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect": "warn",
169
190
  "@eslint-react/dom/no-dangerously-set-innerhtml": "warn",
170
191
  "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error",
171
192
  "@eslint-react/dom/no-find-dom-node": "error",
@@ -177,19 +198,22 @@ const rules$3 = {
177
198
  "@eslint-react/dom/no-render": "error",
178
199
  "@eslint-react/dom/no-render-return-value": "error",
179
200
  "@eslint-react/dom/no-script-url": "warn",
201
+ "@eslint-react/dom/no-string-style-prop": "error",
180
202
  "@eslint-react/dom/no-unknown-property": "warn",
181
203
  "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn",
182
204
  "@eslint-react/dom/no-unsafe-target-blank": "warn",
183
- "@eslint-react/dom/no-use-form-state": "error",
205
+ "@eslint-react/dom/no-use-form-state": "warn",
184
206
  "@eslint-react/dom/no-void-elements-with-children": "error",
207
+ "@eslint-react/dom/prefer-namespace-import": "warn",
185
208
  "@eslint-react/web-api/no-leaked-event-listener": "warn",
186
209
  "@eslint-react/web-api/no-leaked-interval": "warn",
187
210
  "@eslint-react/web-api/no-leaked-resize-observer": "warn",
188
211
  "@eslint-react/web-api/no-leaked-timeout": "warn",
212
+ "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn",
189
213
  "@eslint-react/naming-convention/component-name": "warn",
190
214
  "@eslint-react/naming-convention/context-name": "warn",
191
- "@eslint-react/naming-convention/filename": "warn",
192
- "@eslint-react/naming-convention/filename-extension": "warn",
215
+ "@eslint-react/naming-convention/filename": "off",
216
+ "@eslint-react/naming-convention/filename-extension": "off",
193
217
  "@eslint-react/naming-convention/use-state": "warn"
194
218
  };
195
219
  const plugins$5 = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/eslint-plugin",
3
- "version": "2.0.5",
3
+ "version": "2.0.6-beta.1",
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/kit": "2.0.5",
46
- "@eslint-react/eff": "2.0.5",
47
- "eslint-plugin-react-debug": "2.0.5",
48
- "eslint-plugin-react-dom": "2.0.5",
49
- "@eslint-react/shared": "2.0.5",
50
- "eslint-plugin-react-hooks-extra": "2.0.5",
51
- "eslint-plugin-react-web-api": "2.0.5",
52
- "eslint-plugin-react-naming-convention": "2.0.5",
53
- "eslint-plugin-react-x": "2.0.5"
45
+ "@eslint-react/eff": "2.0.6-beta.1",
46
+ "@eslint-react/shared": "2.0.6-beta.1",
47
+ "eslint-plugin-react-debug": "2.0.6-beta.1",
48
+ "@eslint-react/kit": "2.0.6-beta.1",
49
+ "eslint-plugin-react-dom": "2.0.6-beta.1",
50
+ "eslint-plugin-react-hooks-extra": "2.0.6-beta.1",
51
+ "eslint-plugin-react-naming-convention": "2.0.6-beta.1",
52
+ "eslint-plugin-react-web-api": "2.0.6-beta.1",
53
+ "eslint-plugin-react-x": "2.0.6-beta.1"
54
54
  },
55
55
  "devDependencies": {
56
56
  "tsdown": "^0.15.6",