@eslint-react/eslint-plugin 1.34.0-next.1 → 1.34.0-next.2
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.mts +47 -26
- package/dist/index.d.ts +47 -26
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +9 -9
package/dist/index.d.mts
CHANGED
|
@@ -32,7 +32,7 @@ declare const rules$b: {
|
|
|
32
32
|
readonly "@eslint-react/no-missing-component-display-name": "warn";
|
|
33
33
|
readonly "@eslint-react/no-missing-context-display-name": "warn";
|
|
34
34
|
readonly "@eslint-react/no-missing-key": "error";
|
|
35
|
-
readonly "@eslint-react/no-nested-
|
|
35
|
+
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
36
36
|
readonly "@eslint-react/no-prop-types": "error";
|
|
37
37
|
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
38
38
|
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
@@ -365,7 +365,7 @@ declare const plugins$6: {
|
|
|
365
365
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
366
366
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
367
367
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
368
|
-
readonly "no-nested-
|
|
368
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
369
369
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
370
370
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
371
371
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -394,6 +394,7 @@ declare const plugins$6: {
|
|
|
394
394
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
395
395
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
396
396
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
397
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
397
398
|
};
|
|
398
399
|
};
|
|
399
400
|
};
|
|
@@ -441,7 +442,7 @@ declare const plugins$6: {
|
|
|
441
442
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
442
443
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
443
444
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
444
|
-
readonly "no-nested-
|
|
445
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
445
446
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
446
447
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
447
448
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -470,6 +471,7 @@ declare const plugins$6: {
|
|
|
470
471
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
471
472
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
472
473
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
474
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
473
475
|
};
|
|
474
476
|
};
|
|
475
477
|
};
|
|
@@ -517,7 +519,7 @@ declare const plugins$6: {
|
|
|
517
519
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
518
520
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
519
521
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
520
|
-
readonly "no-nested-
|
|
522
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
521
523
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
522
524
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
523
525
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -546,6 +548,7 @@ declare const plugins$6: {
|
|
|
546
548
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
547
549
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
548
550
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
551
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
549
552
|
};
|
|
550
553
|
};
|
|
551
554
|
};
|
|
@@ -591,7 +594,7 @@ declare const plugins$6: {
|
|
|
591
594
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
592
595
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
593
596
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
594
|
-
readonly "no-nested-
|
|
597
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
595
598
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
596
599
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
597
600
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -620,6 +623,7 @@ declare const plugins$6: {
|
|
|
620
623
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
621
624
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
622
625
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
626
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
623
627
|
};
|
|
624
628
|
};
|
|
625
629
|
};
|
|
@@ -677,7 +681,7 @@ declare const rules$a: {
|
|
|
677
681
|
readonly "@eslint-react/no-forward-ref": "warn";
|
|
678
682
|
readonly "@eslint-react/no-implicit-key": "warn";
|
|
679
683
|
readonly "@eslint-react/no-missing-key": "error";
|
|
680
|
-
readonly "@eslint-react/no-nested-
|
|
684
|
+
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
681
685
|
readonly "@eslint-react/no-prop-types": "error";
|
|
682
686
|
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
683
687
|
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
@@ -735,7 +739,7 @@ declare const plugins$5: {
|
|
|
735
739
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
736
740
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
737
741
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
738
|
-
readonly "no-nested-
|
|
742
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
739
743
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
740
744
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
741
745
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -764,6 +768,7 @@ declare const plugins$5: {
|
|
|
764
768
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
765
769
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
766
770
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
771
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
767
772
|
};
|
|
768
773
|
};
|
|
769
774
|
};
|
|
@@ -811,7 +816,7 @@ declare const plugins$5: {
|
|
|
811
816
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
812
817
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
813
818
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
814
|
-
readonly "no-nested-
|
|
819
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
815
820
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
816
821
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
817
822
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -840,6 +845,7 @@ declare const plugins$5: {
|
|
|
840
845
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
841
846
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
842
847
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
848
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
843
849
|
};
|
|
844
850
|
};
|
|
845
851
|
};
|
|
@@ -887,7 +893,7 @@ declare const plugins$5: {
|
|
|
887
893
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
888
894
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
889
895
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
890
|
-
readonly "no-nested-
|
|
896
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
891
897
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
892
898
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
893
899
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -916,6 +922,7 @@ declare const plugins$5: {
|
|
|
916
922
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
917
923
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
918
924
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
925
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
919
926
|
};
|
|
920
927
|
};
|
|
921
928
|
};
|
|
@@ -961,7 +968,7 @@ declare const plugins$5: {
|
|
|
961
968
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
962
969
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
963
970
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
964
|
-
readonly "no-nested-
|
|
971
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
965
972
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
966
973
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
967
974
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -990,6 +997,7 @@ declare const plugins$5: {
|
|
|
990
997
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
991
998
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
992
999
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1000
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
993
1001
|
};
|
|
994
1002
|
};
|
|
995
1003
|
};
|
|
@@ -1259,7 +1267,7 @@ declare const rules$2: {
|
|
|
1259
1267
|
readonly "@eslint-react/no-forward-ref": "warn";
|
|
1260
1268
|
readonly "@eslint-react/no-implicit-key": "warn";
|
|
1261
1269
|
readonly "@eslint-react/no-missing-key": "error";
|
|
1262
|
-
readonly "@eslint-react/no-nested-
|
|
1270
|
+
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
1263
1271
|
readonly "@eslint-react/no-prop-types": "error";
|
|
1264
1272
|
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
1265
1273
|
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
@@ -1561,7 +1569,7 @@ declare const plugins$2: {
|
|
|
1561
1569
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1562
1570
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1563
1571
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1564
|
-
readonly "no-nested-
|
|
1572
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1565
1573
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1566
1574
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1567
1575
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1590,6 +1598,7 @@ declare const plugins$2: {
|
|
|
1590
1598
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1591
1599
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1592
1600
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1601
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1593
1602
|
};
|
|
1594
1603
|
};
|
|
1595
1604
|
};
|
|
@@ -1637,7 +1646,7 @@ declare const plugins$2: {
|
|
|
1637
1646
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1638
1647
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1639
1648
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1640
|
-
readonly "no-nested-
|
|
1649
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1641
1650
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1642
1651
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1643
1652
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1666,6 +1675,7 @@ declare const plugins$2: {
|
|
|
1666
1675
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1667
1676
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1668
1677
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1678
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1669
1679
|
};
|
|
1670
1680
|
};
|
|
1671
1681
|
};
|
|
@@ -1713,7 +1723,7 @@ declare const plugins$2: {
|
|
|
1713
1723
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1714
1724
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1715
1725
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1716
|
-
readonly "no-nested-
|
|
1726
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1717
1727
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1718
1728
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1719
1729
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1742,6 +1752,7 @@ declare const plugins$2: {
|
|
|
1742
1752
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1743
1753
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1744
1754
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1755
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1745
1756
|
};
|
|
1746
1757
|
};
|
|
1747
1758
|
};
|
|
@@ -1787,7 +1798,7 @@ declare const plugins$2: {
|
|
|
1787
1798
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1788
1799
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1789
1800
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1790
|
-
readonly "no-nested-
|
|
1801
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1791
1802
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1792
1803
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1793
1804
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1816,6 +1827,7 @@ declare const plugins$2: {
|
|
|
1816
1827
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1817
1828
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1818
1829
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1830
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1819
1831
|
};
|
|
1820
1832
|
};
|
|
1821
1833
|
};
|
|
@@ -1895,7 +1907,7 @@ declare const rules$1: {
|
|
|
1895
1907
|
readonly "@eslint-react/no-forward-ref": "warn";
|
|
1896
1908
|
readonly "@eslint-react/no-implicit-key": "warn";
|
|
1897
1909
|
readonly "@eslint-react/no-missing-key": "error";
|
|
1898
|
-
readonly "@eslint-react/no-nested-
|
|
1910
|
+
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
1899
1911
|
readonly "@eslint-react/no-prop-types": "error";
|
|
1900
1912
|
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
1901
1913
|
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
@@ -2196,7 +2208,7 @@ declare const plugins$1: {
|
|
|
2196
2208
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2197
2209
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2198
2210
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2199
|
-
readonly "no-nested-
|
|
2211
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2200
2212
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2201
2213
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2202
2214
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2225,6 +2237,7 @@ declare const plugins$1: {
|
|
|
2225
2237
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2226
2238
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2227
2239
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2240
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2228
2241
|
};
|
|
2229
2242
|
};
|
|
2230
2243
|
};
|
|
@@ -2272,7 +2285,7 @@ declare const plugins$1: {
|
|
|
2272
2285
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2273
2286
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2274
2287
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2275
|
-
readonly "no-nested-
|
|
2288
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2276
2289
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2277
2290
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2278
2291
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2301,6 +2314,7 @@ declare const plugins$1: {
|
|
|
2301
2314
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2302
2315
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2303
2316
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2317
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2304
2318
|
};
|
|
2305
2319
|
};
|
|
2306
2320
|
};
|
|
@@ -2348,7 +2362,7 @@ declare const plugins$1: {
|
|
|
2348
2362
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2349
2363
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2350
2364
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2351
|
-
readonly "no-nested-
|
|
2365
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2352
2366
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2353
2367
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2354
2368
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2377,6 +2391,7 @@ declare const plugins$1: {
|
|
|
2377
2391
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2378
2392
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2379
2393
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2394
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2380
2395
|
};
|
|
2381
2396
|
};
|
|
2382
2397
|
};
|
|
@@ -2422,7 +2437,7 @@ declare const plugins$1: {
|
|
|
2422
2437
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2423
2438
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2424
2439
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2425
|
-
readonly "no-nested-
|
|
2440
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2426
2441
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2427
2442
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2428
2443
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2451,6 +2466,7 @@ declare const plugins$1: {
|
|
|
2451
2466
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2452
2467
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2453
2468
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2469
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2454
2470
|
};
|
|
2455
2471
|
};
|
|
2456
2472
|
};
|
|
@@ -2529,7 +2545,7 @@ declare const rules: {
|
|
|
2529
2545
|
readonly "@eslint-react/no-forward-ref": "warn";
|
|
2530
2546
|
readonly "@eslint-react/no-implicit-key": "warn";
|
|
2531
2547
|
readonly "@eslint-react/no-missing-key": "error";
|
|
2532
|
-
readonly "@eslint-react/no-nested-
|
|
2548
|
+
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
2533
2549
|
readonly "@eslint-react/no-prop-types": "error";
|
|
2534
2550
|
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
2535
2551
|
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
@@ -2830,7 +2846,7 @@ declare const plugins: {
|
|
|
2830
2846
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2831
2847
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2832
2848
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2833
|
-
readonly "no-nested-
|
|
2849
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2834
2850
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2835
2851
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2836
2852
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2859,6 +2875,7 @@ declare const plugins: {
|
|
|
2859
2875
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2860
2876
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2861
2877
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2878
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2862
2879
|
};
|
|
2863
2880
|
};
|
|
2864
2881
|
};
|
|
@@ -2906,7 +2923,7 @@ declare const plugins: {
|
|
|
2906
2923
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2907
2924
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2908
2925
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2909
|
-
readonly "no-nested-
|
|
2926
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2910
2927
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2911
2928
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2912
2929
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2935,6 +2952,7 @@ declare const plugins: {
|
|
|
2935
2952
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2936
2953
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2937
2954
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2955
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2938
2956
|
};
|
|
2939
2957
|
};
|
|
2940
2958
|
};
|
|
@@ -2982,7 +3000,7 @@ declare const plugins: {
|
|
|
2982
3000
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2983
3001
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2984
3002
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2985
|
-
readonly "no-nested-
|
|
3003
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2986
3004
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2987
3005
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2988
3006
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -3011,6 +3029,7 @@ declare const plugins: {
|
|
|
3011
3029
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3012
3030
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3013
3031
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3032
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3014
3033
|
};
|
|
3015
3034
|
};
|
|
3016
3035
|
};
|
|
@@ -3056,7 +3075,7 @@ declare const plugins: {
|
|
|
3056
3075
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3057
3076
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3058
3077
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3059
|
-
readonly "no-nested-
|
|
3078
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3060
3079
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3061
3080
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3062
3081
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -3085,6 +3104,7 @@ declare const plugins: {
|
|
|
3085
3104
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3086
3105
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3087
3106
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3107
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3088
3108
|
};
|
|
3089
3109
|
};
|
|
3090
3110
|
};
|
|
@@ -3279,7 +3299,7 @@ declare const _default: {
|
|
|
3279
3299
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3280
3300
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3281
3301
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3282
|
-
readonly "no-nested-
|
|
3302
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3283
3303
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3284
3304
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3285
3305
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -3308,6 +3328,7 @@ declare const _default: {
|
|
|
3308
3328
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3309
3329
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3310
3330
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3331
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3311
3332
|
};
|
|
3312
3333
|
};
|
|
3313
3334
|
|
package/dist/index.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ declare const rules$b: {
|
|
|
32
32
|
readonly "@eslint-react/no-missing-component-display-name": "warn";
|
|
33
33
|
readonly "@eslint-react/no-missing-context-display-name": "warn";
|
|
34
34
|
readonly "@eslint-react/no-missing-key": "error";
|
|
35
|
-
readonly "@eslint-react/no-nested-
|
|
35
|
+
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
36
36
|
readonly "@eslint-react/no-prop-types": "error";
|
|
37
37
|
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
38
38
|
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
@@ -365,7 +365,7 @@ declare const plugins$6: {
|
|
|
365
365
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
366
366
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
367
367
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
368
|
-
readonly "no-nested-
|
|
368
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
369
369
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
370
370
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
371
371
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -394,6 +394,7 @@ declare const plugins$6: {
|
|
|
394
394
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
395
395
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
396
396
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
397
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
397
398
|
};
|
|
398
399
|
};
|
|
399
400
|
};
|
|
@@ -441,7 +442,7 @@ declare const plugins$6: {
|
|
|
441
442
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
442
443
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
443
444
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
444
|
-
readonly "no-nested-
|
|
445
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
445
446
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
446
447
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
447
448
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -470,6 +471,7 @@ declare const plugins$6: {
|
|
|
470
471
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
471
472
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
472
473
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
474
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
473
475
|
};
|
|
474
476
|
};
|
|
475
477
|
};
|
|
@@ -517,7 +519,7 @@ declare const plugins$6: {
|
|
|
517
519
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
518
520
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
519
521
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
520
|
-
readonly "no-nested-
|
|
522
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
521
523
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
522
524
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
523
525
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -546,6 +548,7 @@ declare const plugins$6: {
|
|
|
546
548
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
547
549
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
548
550
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
551
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
549
552
|
};
|
|
550
553
|
};
|
|
551
554
|
};
|
|
@@ -591,7 +594,7 @@ declare const plugins$6: {
|
|
|
591
594
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
592
595
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
593
596
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
594
|
-
readonly "no-nested-
|
|
597
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
595
598
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
596
599
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
597
600
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -620,6 +623,7 @@ declare const plugins$6: {
|
|
|
620
623
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
621
624
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
622
625
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
626
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
623
627
|
};
|
|
624
628
|
};
|
|
625
629
|
};
|
|
@@ -677,7 +681,7 @@ declare const rules$a: {
|
|
|
677
681
|
readonly "@eslint-react/no-forward-ref": "warn";
|
|
678
682
|
readonly "@eslint-react/no-implicit-key": "warn";
|
|
679
683
|
readonly "@eslint-react/no-missing-key": "error";
|
|
680
|
-
readonly "@eslint-react/no-nested-
|
|
684
|
+
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
681
685
|
readonly "@eslint-react/no-prop-types": "error";
|
|
682
686
|
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
683
687
|
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
@@ -735,7 +739,7 @@ declare const plugins$5: {
|
|
|
735
739
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
736
740
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
737
741
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
738
|
-
readonly "no-nested-
|
|
742
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
739
743
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
740
744
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
741
745
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -764,6 +768,7 @@ declare const plugins$5: {
|
|
|
764
768
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
765
769
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
766
770
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
771
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
767
772
|
};
|
|
768
773
|
};
|
|
769
774
|
};
|
|
@@ -811,7 +816,7 @@ declare const plugins$5: {
|
|
|
811
816
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
812
817
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
813
818
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
814
|
-
readonly "no-nested-
|
|
819
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
815
820
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
816
821
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
817
822
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -840,6 +845,7 @@ declare const plugins$5: {
|
|
|
840
845
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
841
846
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
842
847
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
848
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
843
849
|
};
|
|
844
850
|
};
|
|
845
851
|
};
|
|
@@ -887,7 +893,7 @@ declare const plugins$5: {
|
|
|
887
893
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
888
894
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
889
895
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
890
|
-
readonly "no-nested-
|
|
896
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
891
897
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
892
898
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
893
899
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -916,6 +922,7 @@ declare const plugins$5: {
|
|
|
916
922
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
917
923
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
918
924
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
925
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
919
926
|
};
|
|
920
927
|
};
|
|
921
928
|
};
|
|
@@ -961,7 +968,7 @@ declare const plugins$5: {
|
|
|
961
968
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
962
969
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
963
970
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
964
|
-
readonly "no-nested-
|
|
971
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
965
972
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
966
973
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
967
974
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -990,6 +997,7 @@ declare const plugins$5: {
|
|
|
990
997
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
991
998
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
992
999
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1000
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
993
1001
|
};
|
|
994
1002
|
};
|
|
995
1003
|
};
|
|
@@ -1259,7 +1267,7 @@ declare const rules$2: {
|
|
|
1259
1267
|
readonly "@eslint-react/no-forward-ref": "warn";
|
|
1260
1268
|
readonly "@eslint-react/no-implicit-key": "warn";
|
|
1261
1269
|
readonly "@eslint-react/no-missing-key": "error";
|
|
1262
|
-
readonly "@eslint-react/no-nested-
|
|
1270
|
+
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
1263
1271
|
readonly "@eslint-react/no-prop-types": "error";
|
|
1264
1272
|
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
1265
1273
|
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
@@ -1561,7 +1569,7 @@ declare const plugins$2: {
|
|
|
1561
1569
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1562
1570
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1563
1571
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1564
|
-
readonly "no-nested-
|
|
1572
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1565
1573
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1566
1574
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1567
1575
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1590,6 +1598,7 @@ declare const plugins$2: {
|
|
|
1590
1598
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1591
1599
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1592
1600
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1601
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1593
1602
|
};
|
|
1594
1603
|
};
|
|
1595
1604
|
};
|
|
@@ -1637,7 +1646,7 @@ declare const plugins$2: {
|
|
|
1637
1646
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1638
1647
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1639
1648
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1640
|
-
readonly "no-nested-
|
|
1649
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1641
1650
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1642
1651
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1643
1652
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1666,6 +1675,7 @@ declare const plugins$2: {
|
|
|
1666
1675
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1667
1676
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1668
1677
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1678
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1669
1679
|
};
|
|
1670
1680
|
};
|
|
1671
1681
|
};
|
|
@@ -1713,7 +1723,7 @@ declare const plugins$2: {
|
|
|
1713
1723
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1714
1724
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1715
1725
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1716
|
-
readonly "no-nested-
|
|
1726
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1717
1727
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1718
1728
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1719
1729
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1742,6 +1752,7 @@ declare const plugins$2: {
|
|
|
1742
1752
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1743
1753
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1744
1754
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1755
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1745
1756
|
};
|
|
1746
1757
|
};
|
|
1747
1758
|
};
|
|
@@ -1787,7 +1798,7 @@ declare const plugins$2: {
|
|
|
1787
1798
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1788
1799
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1789
1800
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1790
|
-
readonly "no-nested-
|
|
1801
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1791
1802
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1792
1803
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1793
1804
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1816,6 +1827,7 @@ declare const plugins$2: {
|
|
|
1816
1827
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1817
1828
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1818
1829
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1830
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1819
1831
|
};
|
|
1820
1832
|
};
|
|
1821
1833
|
};
|
|
@@ -1895,7 +1907,7 @@ declare const rules$1: {
|
|
|
1895
1907
|
readonly "@eslint-react/no-forward-ref": "warn";
|
|
1896
1908
|
readonly "@eslint-react/no-implicit-key": "warn";
|
|
1897
1909
|
readonly "@eslint-react/no-missing-key": "error";
|
|
1898
|
-
readonly "@eslint-react/no-nested-
|
|
1910
|
+
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
1899
1911
|
readonly "@eslint-react/no-prop-types": "error";
|
|
1900
1912
|
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
1901
1913
|
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
@@ -2196,7 +2208,7 @@ declare const plugins$1: {
|
|
|
2196
2208
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2197
2209
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2198
2210
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2199
|
-
readonly "no-nested-
|
|
2211
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2200
2212
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2201
2213
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2202
2214
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2225,6 +2237,7 @@ declare const plugins$1: {
|
|
|
2225
2237
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2226
2238
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2227
2239
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2240
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2228
2241
|
};
|
|
2229
2242
|
};
|
|
2230
2243
|
};
|
|
@@ -2272,7 +2285,7 @@ declare const plugins$1: {
|
|
|
2272
2285
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2273
2286
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2274
2287
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2275
|
-
readonly "no-nested-
|
|
2288
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2276
2289
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2277
2290
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2278
2291
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2301,6 +2314,7 @@ declare const plugins$1: {
|
|
|
2301
2314
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2302
2315
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2303
2316
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2317
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2304
2318
|
};
|
|
2305
2319
|
};
|
|
2306
2320
|
};
|
|
@@ -2348,7 +2362,7 @@ declare const plugins$1: {
|
|
|
2348
2362
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2349
2363
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2350
2364
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2351
|
-
readonly "no-nested-
|
|
2365
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2352
2366
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2353
2367
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2354
2368
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2377,6 +2391,7 @@ declare const plugins$1: {
|
|
|
2377
2391
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2378
2392
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2379
2393
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2394
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2380
2395
|
};
|
|
2381
2396
|
};
|
|
2382
2397
|
};
|
|
@@ -2422,7 +2437,7 @@ declare const plugins$1: {
|
|
|
2422
2437
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2423
2438
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2424
2439
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2425
|
-
readonly "no-nested-
|
|
2440
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2426
2441
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2427
2442
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2428
2443
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2451,6 +2466,7 @@ declare const plugins$1: {
|
|
|
2451
2466
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2452
2467
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2453
2468
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2469
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2454
2470
|
};
|
|
2455
2471
|
};
|
|
2456
2472
|
};
|
|
@@ -2529,7 +2545,7 @@ declare const rules: {
|
|
|
2529
2545
|
readonly "@eslint-react/no-forward-ref": "warn";
|
|
2530
2546
|
readonly "@eslint-react/no-implicit-key": "warn";
|
|
2531
2547
|
readonly "@eslint-react/no-missing-key": "error";
|
|
2532
|
-
readonly "@eslint-react/no-nested-
|
|
2548
|
+
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
2533
2549
|
readonly "@eslint-react/no-prop-types": "error";
|
|
2534
2550
|
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
2535
2551
|
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
@@ -2830,7 +2846,7 @@ declare const plugins: {
|
|
|
2830
2846
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2831
2847
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2832
2848
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2833
|
-
readonly "no-nested-
|
|
2849
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2834
2850
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2835
2851
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2836
2852
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2859,6 +2875,7 @@ declare const plugins: {
|
|
|
2859
2875
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2860
2876
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2861
2877
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2878
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2862
2879
|
};
|
|
2863
2880
|
};
|
|
2864
2881
|
};
|
|
@@ -2906,7 +2923,7 @@ declare const plugins: {
|
|
|
2906
2923
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2907
2924
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2908
2925
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2909
|
-
readonly "no-nested-
|
|
2926
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2910
2927
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2911
2928
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2912
2929
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2935,6 +2952,7 @@ declare const plugins: {
|
|
|
2935
2952
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2936
2953
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2937
2954
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2955
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2938
2956
|
};
|
|
2939
2957
|
};
|
|
2940
2958
|
};
|
|
@@ -2982,7 +3000,7 @@ declare const plugins: {
|
|
|
2982
3000
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2983
3001
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2984
3002
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2985
|
-
readonly "no-nested-
|
|
3003
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2986
3004
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2987
3005
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2988
3006
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -3011,6 +3029,7 @@ declare const plugins: {
|
|
|
3011
3029
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3012
3030
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3013
3031
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3032
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3014
3033
|
};
|
|
3015
3034
|
};
|
|
3016
3035
|
};
|
|
@@ -3056,7 +3075,7 @@ declare const plugins: {
|
|
|
3056
3075
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3057
3076
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3058
3077
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3059
|
-
readonly "no-nested-
|
|
3078
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3060
3079
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3061
3080
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3062
3081
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -3085,6 +3104,7 @@ declare const plugins: {
|
|
|
3085
3104
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3086
3105
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3087
3106
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3107
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3088
3108
|
};
|
|
3089
3109
|
};
|
|
3090
3110
|
};
|
|
@@ -3279,7 +3299,7 @@ declare const _default: {
|
|
|
3279
3299
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3280
3300
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3281
3301
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3282
|
-
readonly "no-nested-
|
|
3302
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3283
3303
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3284
3304
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3285
3305
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -3308,6 +3328,7 @@ declare const _default: {
|
|
|
3308
3328
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3309
3329
|
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3310
3330
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3331
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3311
3332
|
};
|
|
3312
3333
|
};
|
|
3313
3334
|
|
package/dist/index.js
CHANGED
|
@@ -25,7 +25,7 @@ var __export = (target, all) => {
|
|
|
25
25
|
|
|
26
26
|
// package.json
|
|
27
27
|
var name = "@eslint-react/eslint-plugin";
|
|
28
|
-
var version = "1.34.0-next.
|
|
28
|
+
var version = "1.34.0-next.2";
|
|
29
29
|
|
|
30
30
|
// src/configs/all.ts
|
|
31
31
|
var all_exports = {};
|
|
@@ -67,7 +67,7 @@ var rules = {
|
|
|
67
67
|
"@eslint-react/no-forward-ref": "warn",
|
|
68
68
|
"@eslint-react/no-implicit-key": "warn",
|
|
69
69
|
"@eslint-react/no-missing-key": "error",
|
|
70
|
-
"@eslint-react/no-nested-
|
|
70
|
+
"@eslint-react/no-nested-component-definitions": "error",
|
|
71
71
|
"@eslint-react/no-prop-types": "error",
|
|
72
72
|
"@eslint-react/no-redundant-should-component-update": "error",
|
|
73
73
|
"@eslint-react/no-set-state-in-component-did-mount": "warn",
|
|
@@ -154,7 +154,7 @@ var rules3 = {
|
|
|
154
154
|
"@eslint-react/no-missing-component-display-name": "warn",
|
|
155
155
|
"@eslint-react/no-missing-context-display-name": "warn",
|
|
156
156
|
"@eslint-react/no-missing-key": "error",
|
|
157
|
-
"@eslint-react/no-nested-
|
|
157
|
+
"@eslint-react/no-nested-component-definitions": "error",
|
|
158
158
|
"@eslint-react/no-prop-types": "error",
|
|
159
159
|
"@eslint-react/no-redundant-should-component-update": "error",
|
|
160
160
|
"@eslint-react/no-set-state-in-component-did-mount": "warn",
|
package/dist/index.mjs
CHANGED
|
@@ -14,7 +14,7 @@ var __export = (target, all) => {
|
|
|
14
14
|
|
|
15
15
|
// package.json
|
|
16
16
|
var name = "@eslint-react/eslint-plugin";
|
|
17
|
-
var version = "1.34.0-next.
|
|
17
|
+
var version = "1.34.0-next.2";
|
|
18
18
|
|
|
19
19
|
// src/configs/all.ts
|
|
20
20
|
var all_exports = {};
|
|
@@ -56,7 +56,7 @@ var rules = {
|
|
|
56
56
|
"@eslint-react/no-forward-ref": "warn",
|
|
57
57
|
"@eslint-react/no-implicit-key": "warn",
|
|
58
58
|
"@eslint-react/no-missing-key": "error",
|
|
59
|
-
"@eslint-react/no-nested-
|
|
59
|
+
"@eslint-react/no-nested-component-definitions": "error",
|
|
60
60
|
"@eslint-react/no-prop-types": "error",
|
|
61
61
|
"@eslint-react/no-redundant-should-component-update": "error",
|
|
62
62
|
"@eslint-react/no-set-state-in-component-did-mount": "warn",
|
|
@@ -143,7 +143,7 @@ var rules3 = {
|
|
|
143
143
|
"@eslint-react/no-missing-component-display-name": "warn",
|
|
144
144
|
"@eslint-react/no-missing-context-display-name": "warn",
|
|
145
145
|
"@eslint-react/no-missing-key": "error",
|
|
146
|
-
"@eslint-react/no-nested-
|
|
146
|
+
"@eslint-react/no-nested-component-definitions": "error",
|
|
147
147
|
"@eslint-react/no-prop-types": "error",
|
|
148
148
|
"@eslint-react/no-redundant-should-component-update": "error",
|
|
149
149
|
"@eslint-react/no-set-state-in-component-did-mount": "warn",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "1.34.0-next.
|
|
3
|
+
"version": "1.34.0-next.2",
|
|
4
4
|
"description": "More than 80 high-quality linting rules for writing better React code.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
"@typescript-eslint/type-utils": "^8.26.1",
|
|
51
51
|
"@typescript-eslint/types": "^8.26.1",
|
|
52
52
|
"@typescript-eslint/utils": "^8.26.1",
|
|
53
|
-
"
|
|
54
|
-
"eslint-
|
|
55
|
-
"
|
|
56
|
-
"eslint-
|
|
57
|
-
"eslint-plugin-react-
|
|
58
|
-
"eslint-plugin-react-naming-convention": "1.34.0-next.
|
|
59
|
-
"eslint-plugin-react-web-api": "1.34.0-next.
|
|
60
|
-
"eslint-plugin-react-x": "1.34.0-next.
|
|
53
|
+
"eslint-plugin-react-debug": "1.34.0-next.2",
|
|
54
|
+
"@eslint-react/shared": "1.34.0-next.2",
|
|
55
|
+
"eslint-plugin-react-dom": "1.34.0-next.2",
|
|
56
|
+
"@eslint-react/eff": "1.34.0-next.2",
|
|
57
|
+
"eslint-plugin-react-hooks-extra": "1.34.0-next.2",
|
|
58
|
+
"eslint-plugin-react-naming-convention": "1.34.0-next.2",
|
|
59
|
+
"eslint-plugin-react-web-api": "1.34.0-next.2",
|
|
60
|
+
"eslint-plugin-react-x": "1.34.0-next.2"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"tsup": "^8.4.0",
|