@eslint-react/eslint-plugin 1.16.0-next.0 → 1.16.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/README.md +4 -1
- package/dist/index.d.mts +327 -0
- package/dist/index.d.ts +327 -0
- package/dist/index.js +10 -2
- package/dist/index.mjs +10 -2
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -82,9 +82,12 @@ export default [
|
|
|
82
82
|
- **recommended**\
|
|
83
83
|
Enable rules that are recommended by ESLint React.\
|
|
84
84
|
_This preset includes the `core`, `dom`, and `web-api` presets._
|
|
85
|
+
- **recommended-typescript**\
|
|
86
|
+
Enable rules that are recommended by ESLint React and disable rules that can be covered by TypeScript.\
|
|
87
|
+
_This preset includes the `recommended` preset._
|
|
85
88
|
- **recommended-type-checked**\
|
|
86
89
|
Enable rules that are recommended by ESLint React with additional rules that require type information.\
|
|
87
|
-
_This preset includes the `recommended` preset._
|
|
90
|
+
_This preset includes the `recommended-typescript` preset._
|
|
88
91
|
|
|
89
92
|
[Full Presets List↗](https://eslint-react.xyz/docs/presets)
|
|
90
93
|
|
package/dist/index.d.mts
CHANGED
|
@@ -103,6 +103,7 @@ declare const _default: {
|
|
|
103
103
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
104
104
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
105
105
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
106
|
+
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
106
107
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
107
108
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
108
109
|
};
|
|
@@ -365,6 +366,7 @@ declare const _default: {
|
|
|
365
366
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
366
367
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
367
368
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
369
|
+
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
368
370
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
369
371
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
370
372
|
};
|
|
@@ -567,6 +569,7 @@ declare const _default: {
|
|
|
567
569
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
568
570
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
569
571
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
572
|
+
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
570
573
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
571
574
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
572
575
|
};
|
|
@@ -649,6 +652,7 @@ declare const _default: {
|
|
|
649
652
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
650
653
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
651
654
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
655
|
+
readonly "@eslint-react/dom/no-unknown-property": "warn";
|
|
652
656
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
653
657
|
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
654
658
|
};
|
|
@@ -675,6 +679,7 @@ declare const _default: {
|
|
|
675
679
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
676
680
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
677
681
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
682
|
+
readonly "@eslint-react/dom/no-unknown-property": "warn";
|
|
678
683
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
679
684
|
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
680
685
|
};
|
|
@@ -785,6 +790,7 @@ declare const _default: {
|
|
|
785
790
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
786
791
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
787
792
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
793
|
+
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
788
794
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
789
795
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
790
796
|
};
|
|
@@ -874,6 +880,7 @@ declare const _default: {
|
|
|
874
880
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
875
881
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
876
882
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
883
|
+
readonly "@eslint-react/dom/no-unknown-property": "warn";
|
|
877
884
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
878
885
|
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
879
886
|
readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
|
|
@@ -924,6 +931,308 @@ declare const _default: {
|
|
|
924
931
|
readonly "recommended-legacy": {
|
|
925
932
|
readonly plugins: readonly ["@eslint-react"];
|
|
926
933
|
readonly rules: {
|
|
934
|
+
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
935
|
+
readonly "@eslint-react/hooks-extra/no-redundant-custom-hook": "warn";
|
|
936
|
+
readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
|
|
937
|
+
readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
|
|
938
|
+
readonly "@eslint-react/web-api/no-leaked-interval": "warn";
|
|
939
|
+
readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
|
|
940
|
+
readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
|
|
941
|
+
readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
|
|
942
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
|
|
943
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
|
|
944
|
+
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
945
|
+
readonly "@eslint-react/dom/no-missing-button-type": "warn";
|
|
946
|
+
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
|
|
947
|
+
readonly "@eslint-react/dom/no-namespace": "error";
|
|
948
|
+
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
949
|
+
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
950
|
+
readonly "@eslint-react/dom/no-unknown-property": "warn";
|
|
951
|
+
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
952
|
+
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
953
|
+
readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
|
|
954
|
+
readonly "@eslint-react/jsx-uses-vars": "warn";
|
|
955
|
+
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
956
|
+
readonly "@eslint-react/no-array-index-key": "warn";
|
|
957
|
+
readonly "@eslint-react/no-children-count": "warn";
|
|
958
|
+
readonly "@eslint-react/no-children-for-each": "warn";
|
|
959
|
+
readonly "@eslint-react/no-children-map": "warn";
|
|
960
|
+
readonly "@eslint-react/no-children-only": "warn";
|
|
961
|
+
readonly "@eslint-react/no-children-to-array": "warn";
|
|
962
|
+
readonly "@eslint-react/no-clone-element": "warn";
|
|
963
|
+
readonly "@eslint-react/no-comment-textnodes": "warn";
|
|
964
|
+
readonly "@eslint-react/no-component-will-mount": "error";
|
|
965
|
+
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
966
|
+
readonly "@eslint-react/no-component-will-update": "error";
|
|
967
|
+
readonly "@eslint-react/no-create-ref": "error";
|
|
968
|
+
readonly "@eslint-react/no-default-props": "error";
|
|
969
|
+
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
970
|
+
readonly "@eslint-react/no-duplicate-key": "error";
|
|
971
|
+
readonly "@eslint-react/no-missing-key": "error";
|
|
972
|
+
readonly "@eslint-react/no-nested-components": "error";
|
|
973
|
+
readonly "@eslint-react/no-prop-types": "error";
|
|
974
|
+
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
975
|
+
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
976
|
+
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
977
|
+
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
978
|
+
readonly "@eslint-react/no-string-refs": "error";
|
|
979
|
+
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
980
|
+
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
981
|
+
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
982
|
+
readonly "@eslint-react/no-unstable-context-value": "warn";
|
|
983
|
+
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
984
|
+
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
985
|
+
readonly "@eslint-react/no-unused-state": "warn";
|
|
986
|
+
};
|
|
987
|
+
readonly settings: {
|
|
988
|
+
readonly "react-x": {
|
|
989
|
+
readonly additionalHooks: {
|
|
990
|
+
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
991
|
+
};
|
|
992
|
+
readonly polymorphicPropName: "as";
|
|
993
|
+
readonly skipImportCheck: false;
|
|
994
|
+
readonly version: "detect";
|
|
995
|
+
};
|
|
996
|
+
};
|
|
997
|
+
};
|
|
998
|
+
readonly "recommended-typescript": {
|
|
999
|
+
readonly plugins: {
|
|
1000
|
+
readonly "@eslint-react": {
|
|
1001
|
+
meta: {
|
|
1002
|
+
name: string;
|
|
1003
|
+
version: string;
|
|
1004
|
+
};
|
|
1005
|
+
rules: {
|
|
1006
|
+
"avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1007
|
+
"avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1008
|
+
"ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1009
|
+
"jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1010
|
+
"no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1011
|
+
"no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1012
|
+
"no-children-count": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenCount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1013
|
+
"no-children-for-each": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenForEach", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1014
|
+
"no-children-map": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenMap", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1015
|
+
"no-children-only": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenOnly", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1016
|
+
"no-children-prop": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenProp", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1017
|
+
"no-children-to-array": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenToArray", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1018
|
+
"no-class-component": _typescript_eslint_utils_ts_eslint.RuleModule<"noClassComponent", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1019
|
+
"no-clone-element": _typescript_eslint_utils_ts_eslint.RuleModule<"noCloneElement", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1020
|
+
"no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1021
|
+
"no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1022
|
+
"no-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1023
|
+
"no-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillReceiveProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1024
|
+
"no-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1025
|
+
"no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1026
|
+
"no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1027
|
+
"no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1028
|
+
"no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1029
|
+
"no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1030
|
+
"no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1031
|
+
"no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1032
|
+
"no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingKey" | "noMissingKeyWithFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1033
|
+
"no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"nestedComponent" | "nestedComponentInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1034
|
+
"no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1035
|
+
"no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1036
|
+
"no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1037
|
+
"no-set-state-in-component-did-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1038
|
+
"no-set-state-in-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1039
|
+
"no-string-refs": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringRefs", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1040
|
+
"no-unsafe-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1041
|
+
"no-unsafe-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillReceiveProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1042
|
+
"no-unsafe-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1043
|
+
"no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableContextValue" | "noUnstableContextValueWithFunction" | "noUnstableContextValueWithIdentifier", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1044
|
+
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1045
|
+
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1046
|
+
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1047
|
+
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
1048
|
+
allowExpressions: boolean;
|
|
1049
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1050
|
+
"prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1051
|
+
"prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1052
|
+
"prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1053
|
+
"prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1054
|
+
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1055
|
+
"no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1056
|
+
};
|
|
1057
|
+
DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
1058
|
+
readonly additionalHooks: {
|
|
1059
|
+
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
1060
|
+
};
|
|
1061
|
+
readonly polymorphicPropName: "as";
|
|
1062
|
+
readonly skipImportCheck: false;
|
|
1063
|
+
readonly version: "detect";
|
|
1064
|
+
};
|
|
1065
|
+
};
|
|
1066
|
+
readonly "@eslint-react/debug": {
|
|
1067
|
+
readonly meta: {
|
|
1068
|
+
readonly name: string;
|
|
1069
|
+
readonly version: string;
|
|
1070
|
+
};
|
|
1071
|
+
readonly rules: {
|
|
1072
|
+
readonly "class-component": _typescript_eslint_utils_ts_eslint.RuleModule<"classComponent", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1073
|
+
readonly "function-component": _typescript_eslint_utils_ts_eslint.RuleModule<"functionComponent", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1074
|
+
readonly hook: _typescript_eslint_utils_ts_eslint.RuleModule<"hook", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1075
|
+
readonly "is-from-react": _typescript_eslint_utils_ts_eslint.RuleModule<"isFromReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1076
|
+
readonly "react-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"hook", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1077
|
+
};
|
|
1078
|
+
};
|
|
1079
|
+
readonly "@eslint-react/dom": {
|
|
1080
|
+
readonly meta: {
|
|
1081
|
+
readonly name: string;
|
|
1082
|
+
readonly version: string;
|
|
1083
|
+
};
|
|
1084
|
+
readonly rules: {
|
|
1085
|
+
readonly "no-children-in-void-dom-elements": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenInVoidDomElements", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1086
|
+
readonly "no-dangerously-set-innerhtml": _typescript_eslint_utils_ts_eslint.RuleModule<"noDangerouslySetInnerhtml", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1087
|
+
readonly "no-dangerously-set-innerhtml-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noDangerouslySetInnerhtmlWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1088
|
+
readonly "no-find-dom-node": _typescript_eslint_utils_ts_eslint.RuleModule<"noFindDomNode", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1089
|
+
readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1090
|
+
readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1091
|
+
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1092
|
+
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1093
|
+
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1094
|
+
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1095
|
+
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1096
|
+
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1097
|
+
};
|
|
1098
|
+
readonly DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
1099
|
+
readonly additionalComponents: [{
|
|
1100
|
+
readonly name: "Link";
|
|
1101
|
+
readonly as: "a";
|
|
1102
|
+
readonly attributes: [{
|
|
1103
|
+
readonly name: "to";
|
|
1104
|
+
readonly as: "href";
|
|
1105
|
+
}];
|
|
1106
|
+
}];
|
|
1107
|
+
readonly skipImportCheck: false;
|
|
1108
|
+
};
|
|
1109
|
+
};
|
|
1110
|
+
readonly "@eslint-react/hooks-extra": {
|
|
1111
|
+
readonly meta: {
|
|
1112
|
+
readonly name: string;
|
|
1113
|
+
readonly version: string;
|
|
1114
|
+
};
|
|
1115
|
+
readonly rules: {
|
|
1116
|
+
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1117
|
+
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1118
|
+
readonly "no-redundant-custom-hook": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantCustomHook", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1119
|
+
readonly "no-unnecessary-use-callback": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseCallback", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1120
|
+
readonly "no-unnecessary-use-memo": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseMemo", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1121
|
+
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1122
|
+
readonly "ensure-custom-hooks-using-other-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantCustomHook", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1123
|
+
readonly "ensure-use-memo-has-non-empty-deps": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseMemo", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1124
|
+
};
|
|
1125
|
+
};
|
|
1126
|
+
readonly "@eslint-react/naming-convention": {
|
|
1127
|
+
readonly meta: {
|
|
1128
|
+
readonly name: string;
|
|
1129
|
+
readonly version: string;
|
|
1130
|
+
};
|
|
1131
|
+
readonly rules: {
|
|
1132
|
+
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly [{
|
|
1133
|
+
allowAllCaps?: boolean;
|
|
1134
|
+
allowLeadingUnderscore?: boolean;
|
|
1135
|
+
allowNamespace?: boolean;
|
|
1136
|
+
excepts?: readonly string[];
|
|
1137
|
+
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
1138
|
+
} | ("CONSTANT_CASE" | "PascalCase") | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1139
|
+
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatchSuggestion" | "filenameEmpty", readonly [{
|
|
1140
|
+
excepts?: readonly string[];
|
|
1141
|
+
extensions?: readonly string[];
|
|
1142
|
+
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
1143
|
+
} | ("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1144
|
+
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameExtensionInvalid" | "filenameExtensionUnexpected", readonly [{
|
|
1145
|
+
allow?: "always" | "as-needed";
|
|
1146
|
+
extensions?: readonly string[];
|
|
1147
|
+
} | ("always" | "as-needed") | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1148
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"useState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1149
|
+
};
|
|
1150
|
+
};
|
|
1151
|
+
readonly "@eslint-react/web-api": {
|
|
1152
|
+
meta: {
|
|
1153
|
+
name: string;
|
|
1154
|
+
version: string;
|
|
1155
|
+
};
|
|
1156
|
+
rules: {
|
|
1157
|
+
"no-leaked-event-listener": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedEventListenerInEffect" | "noLeakedEventListenerInLifecycle" | "noLeakedEventListenerOfInlineFunction", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1158
|
+
"no-leaked-interval": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedIntervalInEffect" | "noLeakedIntervalInLifecycle" | "noLeakedIntervalNoIntervalId", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1159
|
+
"no-leaked-resize-observer": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedResizeObserver" | "noLeakedResizeObserverInControlFlow" | "noLeakedResizeObserverNoFloatingInstance", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1160
|
+
"no-leaked-timeout": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedTimeoutInEffect" | "noLeakedTimeoutInLifecycle" | "noLeakedTimeoutNoTimeoutId", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1161
|
+
};
|
|
1162
|
+
DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
1163
|
+
readonly skipImportCheck: true;
|
|
1164
|
+
};
|
|
1165
|
+
};
|
|
1166
|
+
};
|
|
1167
|
+
readonly rules: {
|
|
1168
|
+
readonly "@eslint-react/dom/no-unknown-property": "off";
|
|
1169
|
+
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
1170
|
+
readonly "@eslint-react/hooks-extra/no-redundant-custom-hook": "warn";
|
|
1171
|
+
readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
|
|
1172
|
+
readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
|
|
1173
|
+
readonly "@eslint-react/web-api/no-leaked-interval": "warn";
|
|
1174
|
+
readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
|
|
1175
|
+
readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
|
|
1176
|
+
readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
|
|
1177
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
|
|
1178
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
|
|
1179
|
+
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
1180
|
+
readonly "@eslint-react/dom/no-missing-button-type": "warn";
|
|
1181
|
+
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
|
|
1182
|
+
readonly "@eslint-react/dom/no-namespace": "error";
|
|
1183
|
+
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
1184
|
+
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
1185
|
+
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
1186
|
+
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
1187
|
+
readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
|
|
1188
|
+
readonly "@eslint-react/jsx-uses-vars": "warn";
|
|
1189
|
+
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
1190
|
+
readonly "@eslint-react/no-array-index-key": "warn";
|
|
1191
|
+
readonly "@eslint-react/no-children-count": "warn";
|
|
1192
|
+
readonly "@eslint-react/no-children-for-each": "warn";
|
|
1193
|
+
readonly "@eslint-react/no-children-map": "warn";
|
|
1194
|
+
readonly "@eslint-react/no-children-only": "warn";
|
|
1195
|
+
readonly "@eslint-react/no-children-to-array": "warn";
|
|
1196
|
+
readonly "@eslint-react/no-clone-element": "warn";
|
|
1197
|
+
readonly "@eslint-react/no-comment-textnodes": "warn";
|
|
1198
|
+
readonly "@eslint-react/no-component-will-mount": "error";
|
|
1199
|
+
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
1200
|
+
readonly "@eslint-react/no-component-will-update": "error";
|
|
1201
|
+
readonly "@eslint-react/no-create-ref": "error";
|
|
1202
|
+
readonly "@eslint-react/no-default-props": "error";
|
|
1203
|
+
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
1204
|
+
readonly "@eslint-react/no-duplicate-key": "error";
|
|
1205
|
+
readonly "@eslint-react/no-missing-key": "error";
|
|
1206
|
+
readonly "@eslint-react/no-nested-components": "error";
|
|
1207
|
+
readonly "@eslint-react/no-prop-types": "error";
|
|
1208
|
+
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
1209
|
+
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
1210
|
+
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
1211
|
+
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
1212
|
+
readonly "@eslint-react/no-string-refs": "error";
|
|
1213
|
+
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
1214
|
+
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
1215
|
+
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
1216
|
+
readonly "@eslint-react/no-unstable-context-value": "warn";
|
|
1217
|
+
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
1218
|
+
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
1219
|
+
readonly "@eslint-react/no-unused-state": "warn";
|
|
1220
|
+
};
|
|
1221
|
+
readonly settings: {
|
|
1222
|
+
readonly "react-x": {
|
|
1223
|
+
readonly additionalHooks: {
|
|
1224
|
+
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
1225
|
+
};
|
|
1226
|
+
readonly polymorphicPropName: "as";
|
|
1227
|
+
readonly skipImportCheck: false;
|
|
1228
|
+
readonly version: "detect";
|
|
1229
|
+
};
|
|
1230
|
+
};
|
|
1231
|
+
};
|
|
1232
|
+
readonly "recommended-typescript-legacy": {
|
|
1233
|
+
readonly plugins: readonly ["@eslint-react"];
|
|
1234
|
+
readonly rules: {
|
|
1235
|
+
readonly "@eslint-react/dom/no-unknown-property": "off";
|
|
927
1236
|
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
928
1237
|
readonly "@eslint-react/hooks-extra/no-redundant-custom-hook": "warn";
|
|
929
1238
|
readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
|
|
@@ -1083,6 +1392,7 @@ declare const _default: {
|
|
|
1083
1392
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1084
1393
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1085
1394
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1395
|
+
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1086
1396
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1087
1397
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1088
1398
|
};
|
|
@@ -1157,6 +1467,7 @@ declare const _default: {
|
|
|
1157
1467
|
};
|
|
1158
1468
|
readonly rules: {
|
|
1159
1469
|
readonly "@eslint-react/no-leaked-conditional-rendering": "warn";
|
|
1470
|
+
readonly "@eslint-react/dom/no-unknown-property": "off";
|
|
1160
1471
|
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
1161
1472
|
readonly "@eslint-react/hooks-extra/no-redundant-custom-hook": "warn";
|
|
1162
1473
|
readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
|
|
@@ -1224,6 +1535,7 @@ declare const _default: {
|
|
|
1224
1535
|
readonly plugins: readonly ["@eslint-react"];
|
|
1225
1536
|
readonly rules: {
|
|
1226
1537
|
readonly "@eslint-react/no-leaked-conditional-rendering": "warn";
|
|
1538
|
+
readonly "@eslint-react/dom/no-unknown-property": "off";
|
|
1227
1539
|
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
1228
1540
|
readonly "@eslint-react/hooks-extra/no-redundant-custom-hook": "warn";
|
|
1229
1541
|
readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
|
|
@@ -1383,6 +1695,7 @@ declare const _default: {
|
|
|
1383
1695
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1384
1696
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1385
1697
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1698
|
+
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1386
1699
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1387
1700
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1388
1701
|
};
|
|
@@ -1465,6 +1778,7 @@ declare const _default: {
|
|
|
1465
1778
|
"@eslint-react/dom/no-namespace"?: "off";
|
|
1466
1779
|
"@eslint-react/dom/no-render-return-value"?: "off";
|
|
1467
1780
|
"@eslint-react/dom/no-script-url"?: "off";
|
|
1781
|
+
"@eslint-react/dom/no-unknown-property"?: "off";
|
|
1468
1782
|
"@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
|
|
1469
1783
|
"@eslint-react/dom/no-unsafe-target-blank"?: "off";
|
|
1470
1784
|
};
|
|
@@ -1491,6 +1805,7 @@ declare const _default: {
|
|
|
1491
1805
|
"@eslint-react/dom/no-namespace"?: "off";
|
|
1492
1806
|
"@eslint-react/dom/no-render-return-value"?: "off";
|
|
1493
1807
|
"@eslint-react/dom/no-script-url"?: "off";
|
|
1808
|
+
"@eslint-react/dom/no-unknown-property"?: "off";
|
|
1494
1809
|
"@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
|
|
1495
1810
|
"@eslint-react/dom/no-unsafe-target-blank"?: "off";
|
|
1496
1811
|
};
|
|
@@ -1601,6 +1916,7 @@ declare const _default: {
|
|
|
1601
1916
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1602
1917
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1603
1918
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1919
|
+
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1604
1920
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1605
1921
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1606
1922
|
};
|
|
@@ -1805,6 +2121,7 @@ declare const _default: {
|
|
|
1805
2121
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1806
2122
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1807
2123
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2124
|
+
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1808
2125
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1809
2126
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1810
2127
|
};
|
|
@@ -2003,6 +2320,7 @@ declare const _default: {
|
|
|
2003
2320
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2004
2321
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2005
2322
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2323
|
+
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2006
2324
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2007
2325
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2008
2326
|
};
|
|
@@ -2129,6 +2447,7 @@ declare const _default: {
|
|
|
2129
2447
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
2130
2448
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
2131
2449
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
2450
|
+
readonly "@eslint-react/dom/no-unknown-property": "warn";
|
|
2132
2451
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
2133
2452
|
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
2134
2453
|
readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
|
|
@@ -2213,6 +2532,7 @@ declare const _default: {
|
|
|
2213
2532
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
2214
2533
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
2215
2534
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
2535
|
+
readonly "@eslint-react/dom/no-unknown-property": "warn";
|
|
2216
2536
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
2217
2537
|
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
2218
2538
|
readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
|
|
@@ -2337,6 +2657,7 @@ declare const _default: {
|
|
|
2337
2657
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2338
2658
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2339
2659
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2660
|
+
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2340
2661
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2341
2662
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2342
2663
|
};
|
|
@@ -2463,6 +2784,7 @@ declare const _default: {
|
|
|
2463
2784
|
readonly "@eslint-react/dom/no-namespace"?: "off";
|
|
2464
2785
|
readonly "@eslint-react/dom/no-render-return-value"?: "off";
|
|
2465
2786
|
readonly "@eslint-react/dom/no-script-url"?: "off";
|
|
2787
|
+
readonly "@eslint-react/dom/no-unknown-property"?: "off";
|
|
2466
2788
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
|
|
2467
2789
|
readonly "@eslint-react/dom/no-unsafe-target-blank"?: "off";
|
|
2468
2790
|
readonly "@eslint-react/web-api/no-leaked-event-listener"?: "off";
|
|
@@ -2547,6 +2869,7 @@ declare const _default: {
|
|
|
2547
2869
|
readonly "@eslint-react/dom/no-namespace"?: "off";
|
|
2548
2870
|
readonly "@eslint-react/dom/no-render-return-value"?: "off";
|
|
2549
2871
|
readonly "@eslint-react/dom/no-script-url"?: "off";
|
|
2872
|
+
readonly "@eslint-react/dom/no-unknown-property"?: "off";
|
|
2550
2873
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
|
|
2551
2874
|
readonly "@eslint-react/dom/no-unsafe-target-blank"?: "off";
|
|
2552
2875
|
readonly "@eslint-react/web-api/no-leaked-event-listener"?: "off";
|
|
@@ -2672,6 +2995,7 @@ declare const _default: {
|
|
|
2672
2995
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2673
2996
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2674
2997
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2998
|
+
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2675
2999
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2676
3000
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2677
3001
|
};
|
|
@@ -2754,6 +3078,7 @@ declare const _default: {
|
|
|
2754
3078
|
"@eslint-react/dom/no-namespace"?: "off";
|
|
2755
3079
|
"@eslint-react/dom/no-render-return-value"?: "off";
|
|
2756
3080
|
"@eslint-react/dom/no-script-url"?: "off";
|
|
3081
|
+
"@eslint-react/dom/no-unknown-property"?: "off";
|
|
2757
3082
|
"@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
|
|
2758
3083
|
"@eslint-react/dom/no-unsafe-target-blank"?: "off";
|
|
2759
3084
|
};
|
|
@@ -2781,6 +3106,7 @@ declare const _default: {
|
|
|
2781
3106
|
"@eslint-react/dom/no-namespace"?: "off";
|
|
2782
3107
|
"@eslint-react/dom/no-render-return-value"?: "off";
|
|
2783
3108
|
"@eslint-react/dom/no-script-url"?: "off";
|
|
3109
|
+
"@eslint-react/dom/no-unknown-property"?: "off";
|
|
2784
3110
|
"@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
|
|
2785
3111
|
"@eslint-react/dom/no-unsafe-target-blank"?: "off";
|
|
2786
3112
|
};
|
|
@@ -2840,6 +3166,7 @@ declare const _default: {
|
|
|
2840
3166
|
readonly "dom/no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2841
3167
|
readonly "dom/no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2842
3168
|
readonly "dom/no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3169
|
+
readonly "dom/no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2843
3170
|
readonly "dom/no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2844
3171
|
readonly "dom/no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2845
3172
|
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
package/dist/index.d.ts
CHANGED
|
@@ -103,6 +103,7 @@ declare const _default: {
|
|
|
103
103
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
104
104
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
105
105
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
106
|
+
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
106
107
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
107
108
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
108
109
|
};
|
|
@@ -365,6 +366,7 @@ declare const _default: {
|
|
|
365
366
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
366
367
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
367
368
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
369
|
+
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
368
370
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
369
371
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
370
372
|
};
|
|
@@ -567,6 +569,7 @@ declare const _default: {
|
|
|
567
569
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
568
570
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
569
571
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
572
|
+
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
570
573
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
571
574
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
572
575
|
};
|
|
@@ -649,6 +652,7 @@ declare const _default: {
|
|
|
649
652
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
650
653
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
651
654
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
655
|
+
readonly "@eslint-react/dom/no-unknown-property": "warn";
|
|
652
656
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
653
657
|
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
654
658
|
};
|
|
@@ -675,6 +679,7 @@ declare const _default: {
|
|
|
675
679
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
676
680
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
677
681
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
682
|
+
readonly "@eslint-react/dom/no-unknown-property": "warn";
|
|
678
683
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
679
684
|
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
680
685
|
};
|
|
@@ -785,6 +790,7 @@ declare const _default: {
|
|
|
785
790
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
786
791
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
787
792
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
793
|
+
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
788
794
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
789
795
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
790
796
|
};
|
|
@@ -874,6 +880,7 @@ declare const _default: {
|
|
|
874
880
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
875
881
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
876
882
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
883
|
+
readonly "@eslint-react/dom/no-unknown-property": "warn";
|
|
877
884
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
878
885
|
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
879
886
|
readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
|
|
@@ -924,6 +931,308 @@ declare const _default: {
|
|
|
924
931
|
readonly "recommended-legacy": {
|
|
925
932
|
readonly plugins: readonly ["@eslint-react"];
|
|
926
933
|
readonly rules: {
|
|
934
|
+
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
935
|
+
readonly "@eslint-react/hooks-extra/no-redundant-custom-hook": "warn";
|
|
936
|
+
readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
|
|
937
|
+
readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
|
|
938
|
+
readonly "@eslint-react/web-api/no-leaked-interval": "warn";
|
|
939
|
+
readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
|
|
940
|
+
readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
|
|
941
|
+
readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
|
|
942
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
|
|
943
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
|
|
944
|
+
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
945
|
+
readonly "@eslint-react/dom/no-missing-button-type": "warn";
|
|
946
|
+
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
|
|
947
|
+
readonly "@eslint-react/dom/no-namespace": "error";
|
|
948
|
+
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
949
|
+
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
950
|
+
readonly "@eslint-react/dom/no-unknown-property": "warn";
|
|
951
|
+
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
952
|
+
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
953
|
+
readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
|
|
954
|
+
readonly "@eslint-react/jsx-uses-vars": "warn";
|
|
955
|
+
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
956
|
+
readonly "@eslint-react/no-array-index-key": "warn";
|
|
957
|
+
readonly "@eslint-react/no-children-count": "warn";
|
|
958
|
+
readonly "@eslint-react/no-children-for-each": "warn";
|
|
959
|
+
readonly "@eslint-react/no-children-map": "warn";
|
|
960
|
+
readonly "@eslint-react/no-children-only": "warn";
|
|
961
|
+
readonly "@eslint-react/no-children-to-array": "warn";
|
|
962
|
+
readonly "@eslint-react/no-clone-element": "warn";
|
|
963
|
+
readonly "@eslint-react/no-comment-textnodes": "warn";
|
|
964
|
+
readonly "@eslint-react/no-component-will-mount": "error";
|
|
965
|
+
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
966
|
+
readonly "@eslint-react/no-component-will-update": "error";
|
|
967
|
+
readonly "@eslint-react/no-create-ref": "error";
|
|
968
|
+
readonly "@eslint-react/no-default-props": "error";
|
|
969
|
+
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
970
|
+
readonly "@eslint-react/no-duplicate-key": "error";
|
|
971
|
+
readonly "@eslint-react/no-missing-key": "error";
|
|
972
|
+
readonly "@eslint-react/no-nested-components": "error";
|
|
973
|
+
readonly "@eslint-react/no-prop-types": "error";
|
|
974
|
+
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
975
|
+
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
976
|
+
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
977
|
+
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
978
|
+
readonly "@eslint-react/no-string-refs": "error";
|
|
979
|
+
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
980
|
+
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
981
|
+
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
982
|
+
readonly "@eslint-react/no-unstable-context-value": "warn";
|
|
983
|
+
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
984
|
+
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
985
|
+
readonly "@eslint-react/no-unused-state": "warn";
|
|
986
|
+
};
|
|
987
|
+
readonly settings: {
|
|
988
|
+
readonly "react-x": {
|
|
989
|
+
readonly additionalHooks: {
|
|
990
|
+
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
991
|
+
};
|
|
992
|
+
readonly polymorphicPropName: "as";
|
|
993
|
+
readonly skipImportCheck: false;
|
|
994
|
+
readonly version: "detect";
|
|
995
|
+
};
|
|
996
|
+
};
|
|
997
|
+
};
|
|
998
|
+
readonly "recommended-typescript": {
|
|
999
|
+
readonly plugins: {
|
|
1000
|
+
readonly "@eslint-react": {
|
|
1001
|
+
meta: {
|
|
1002
|
+
name: string;
|
|
1003
|
+
version: string;
|
|
1004
|
+
};
|
|
1005
|
+
rules: {
|
|
1006
|
+
"avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1007
|
+
"avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1008
|
+
"ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1009
|
+
"jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1010
|
+
"no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1011
|
+
"no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1012
|
+
"no-children-count": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenCount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1013
|
+
"no-children-for-each": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenForEach", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1014
|
+
"no-children-map": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenMap", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1015
|
+
"no-children-only": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenOnly", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1016
|
+
"no-children-prop": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenProp", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1017
|
+
"no-children-to-array": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenToArray", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1018
|
+
"no-class-component": _typescript_eslint_utils_ts_eslint.RuleModule<"noClassComponent", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1019
|
+
"no-clone-element": _typescript_eslint_utils_ts_eslint.RuleModule<"noCloneElement", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1020
|
+
"no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1021
|
+
"no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1022
|
+
"no-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1023
|
+
"no-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillReceiveProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1024
|
+
"no-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1025
|
+
"no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1026
|
+
"no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1027
|
+
"no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1028
|
+
"no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1029
|
+
"no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1030
|
+
"no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1031
|
+
"no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1032
|
+
"no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingKey" | "noMissingKeyWithFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1033
|
+
"no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"nestedComponent" | "nestedComponentInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1034
|
+
"no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1035
|
+
"no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1036
|
+
"no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1037
|
+
"no-set-state-in-component-did-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1038
|
+
"no-set-state-in-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1039
|
+
"no-string-refs": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringRefs", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1040
|
+
"no-unsafe-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1041
|
+
"no-unsafe-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillReceiveProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1042
|
+
"no-unsafe-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1043
|
+
"no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableContextValue" | "noUnstableContextValueWithFunction" | "noUnstableContextValueWithIdentifier", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1044
|
+
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1045
|
+
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1046
|
+
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1047
|
+
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
1048
|
+
allowExpressions: boolean;
|
|
1049
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1050
|
+
"prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1051
|
+
"prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1052
|
+
"prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1053
|
+
"prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1054
|
+
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1055
|
+
"no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1056
|
+
};
|
|
1057
|
+
DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
1058
|
+
readonly additionalHooks: {
|
|
1059
|
+
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
1060
|
+
};
|
|
1061
|
+
readonly polymorphicPropName: "as";
|
|
1062
|
+
readonly skipImportCheck: false;
|
|
1063
|
+
readonly version: "detect";
|
|
1064
|
+
};
|
|
1065
|
+
};
|
|
1066
|
+
readonly "@eslint-react/debug": {
|
|
1067
|
+
readonly meta: {
|
|
1068
|
+
readonly name: string;
|
|
1069
|
+
readonly version: string;
|
|
1070
|
+
};
|
|
1071
|
+
readonly rules: {
|
|
1072
|
+
readonly "class-component": _typescript_eslint_utils_ts_eslint.RuleModule<"classComponent", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1073
|
+
readonly "function-component": _typescript_eslint_utils_ts_eslint.RuleModule<"functionComponent", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1074
|
+
readonly hook: _typescript_eslint_utils_ts_eslint.RuleModule<"hook", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1075
|
+
readonly "is-from-react": _typescript_eslint_utils_ts_eslint.RuleModule<"isFromReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1076
|
+
readonly "react-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"hook", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1077
|
+
};
|
|
1078
|
+
};
|
|
1079
|
+
readonly "@eslint-react/dom": {
|
|
1080
|
+
readonly meta: {
|
|
1081
|
+
readonly name: string;
|
|
1082
|
+
readonly version: string;
|
|
1083
|
+
};
|
|
1084
|
+
readonly rules: {
|
|
1085
|
+
readonly "no-children-in-void-dom-elements": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenInVoidDomElements", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1086
|
+
readonly "no-dangerously-set-innerhtml": _typescript_eslint_utils_ts_eslint.RuleModule<"noDangerouslySetInnerhtml", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1087
|
+
readonly "no-dangerously-set-innerhtml-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noDangerouslySetInnerhtmlWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1088
|
+
readonly "no-find-dom-node": _typescript_eslint_utils_ts_eslint.RuleModule<"noFindDomNode", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1089
|
+
readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1090
|
+
readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1091
|
+
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1092
|
+
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1093
|
+
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1094
|
+
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1095
|
+
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1096
|
+
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1097
|
+
};
|
|
1098
|
+
readonly DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
1099
|
+
readonly additionalComponents: [{
|
|
1100
|
+
readonly name: "Link";
|
|
1101
|
+
readonly as: "a";
|
|
1102
|
+
readonly attributes: [{
|
|
1103
|
+
readonly name: "to";
|
|
1104
|
+
readonly as: "href";
|
|
1105
|
+
}];
|
|
1106
|
+
}];
|
|
1107
|
+
readonly skipImportCheck: false;
|
|
1108
|
+
};
|
|
1109
|
+
};
|
|
1110
|
+
readonly "@eslint-react/hooks-extra": {
|
|
1111
|
+
readonly meta: {
|
|
1112
|
+
readonly name: string;
|
|
1113
|
+
readonly version: string;
|
|
1114
|
+
};
|
|
1115
|
+
readonly rules: {
|
|
1116
|
+
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1117
|
+
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1118
|
+
readonly "no-redundant-custom-hook": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantCustomHook", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1119
|
+
readonly "no-unnecessary-use-callback": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseCallback", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1120
|
+
readonly "no-unnecessary-use-memo": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseMemo", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1121
|
+
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1122
|
+
readonly "ensure-custom-hooks-using-other-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantCustomHook", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1123
|
+
readonly "ensure-use-memo-has-non-empty-deps": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseMemo", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1124
|
+
};
|
|
1125
|
+
};
|
|
1126
|
+
readonly "@eslint-react/naming-convention": {
|
|
1127
|
+
readonly meta: {
|
|
1128
|
+
readonly name: string;
|
|
1129
|
+
readonly version: string;
|
|
1130
|
+
};
|
|
1131
|
+
readonly rules: {
|
|
1132
|
+
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly [{
|
|
1133
|
+
allowAllCaps?: boolean;
|
|
1134
|
+
allowLeadingUnderscore?: boolean;
|
|
1135
|
+
allowNamespace?: boolean;
|
|
1136
|
+
excepts?: readonly string[];
|
|
1137
|
+
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
1138
|
+
} | ("CONSTANT_CASE" | "PascalCase") | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1139
|
+
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatchSuggestion" | "filenameEmpty", readonly [{
|
|
1140
|
+
excepts?: readonly string[];
|
|
1141
|
+
extensions?: readonly string[];
|
|
1142
|
+
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
1143
|
+
} | ("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1144
|
+
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameExtensionInvalid" | "filenameExtensionUnexpected", readonly [{
|
|
1145
|
+
allow?: "always" | "as-needed";
|
|
1146
|
+
extensions?: readonly string[];
|
|
1147
|
+
} | ("always" | "as-needed") | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1148
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"useState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1149
|
+
};
|
|
1150
|
+
};
|
|
1151
|
+
readonly "@eslint-react/web-api": {
|
|
1152
|
+
meta: {
|
|
1153
|
+
name: string;
|
|
1154
|
+
version: string;
|
|
1155
|
+
};
|
|
1156
|
+
rules: {
|
|
1157
|
+
"no-leaked-event-listener": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedEventListenerInEffect" | "noLeakedEventListenerInLifecycle" | "noLeakedEventListenerOfInlineFunction", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1158
|
+
"no-leaked-interval": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedIntervalInEffect" | "noLeakedIntervalInLifecycle" | "noLeakedIntervalNoIntervalId", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1159
|
+
"no-leaked-resize-observer": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedResizeObserver" | "noLeakedResizeObserverInControlFlow" | "noLeakedResizeObserverNoFloatingInstance", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1160
|
+
"no-leaked-timeout": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedTimeoutInEffect" | "noLeakedTimeoutInLifecycle" | "noLeakedTimeoutNoTimeoutId", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1161
|
+
};
|
|
1162
|
+
DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
1163
|
+
readonly skipImportCheck: true;
|
|
1164
|
+
};
|
|
1165
|
+
};
|
|
1166
|
+
};
|
|
1167
|
+
readonly rules: {
|
|
1168
|
+
readonly "@eslint-react/dom/no-unknown-property": "off";
|
|
1169
|
+
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
1170
|
+
readonly "@eslint-react/hooks-extra/no-redundant-custom-hook": "warn";
|
|
1171
|
+
readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
|
|
1172
|
+
readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
|
|
1173
|
+
readonly "@eslint-react/web-api/no-leaked-interval": "warn";
|
|
1174
|
+
readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
|
|
1175
|
+
readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
|
|
1176
|
+
readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
|
|
1177
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
|
|
1178
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
|
|
1179
|
+
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
1180
|
+
readonly "@eslint-react/dom/no-missing-button-type": "warn";
|
|
1181
|
+
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
|
|
1182
|
+
readonly "@eslint-react/dom/no-namespace": "error";
|
|
1183
|
+
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
1184
|
+
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
1185
|
+
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
1186
|
+
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
1187
|
+
readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
|
|
1188
|
+
readonly "@eslint-react/jsx-uses-vars": "warn";
|
|
1189
|
+
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
1190
|
+
readonly "@eslint-react/no-array-index-key": "warn";
|
|
1191
|
+
readonly "@eslint-react/no-children-count": "warn";
|
|
1192
|
+
readonly "@eslint-react/no-children-for-each": "warn";
|
|
1193
|
+
readonly "@eslint-react/no-children-map": "warn";
|
|
1194
|
+
readonly "@eslint-react/no-children-only": "warn";
|
|
1195
|
+
readonly "@eslint-react/no-children-to-array": "warn";
|
|
1196
|
+
readonly "@eslint-react/no-clone-element": "warn";
|
|
1197
|
+
readonly "@eslint-react/no-comment-textnodes": "warn";
|
|
1198
|
+
readonly "@eslint-react/no-component-will-mount": "error";
|
|
1199
|
+
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
1200
|
+
readonly "@eslint-react/no-component-will-update": "error";
|
|
1201
|
+
readonly "@eslint-react/no-create-ref": "error";
|
|
1202
|
+
readonly "@eslint-react/no-default-props": "error";
|
|
1203
|
+
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
1204
|
+
readonly "@eslint-react/no-duplicate-key": "error";
|
|
1205
|
+
readonly "@eslint-react/no-missing-key": "error";
|
|
1206
|
+
readonly "@eslint-react/no-nested-components": "error";
|
|
1207
|
+
readonly "@eslint-react/no-prop-types": "error";
|
|
1208
|
+
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
1209
|
+
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
1210
|
+
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
1211
|
+
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
1212
|
+
readonly "@eslint-react/no-string-refs": "error";
|
|
1213
|
+
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
1214
|
+
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
1215
|
+
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
1216
|
+
readonly "@eslint-react/no-unstable-context-value": "warn";
|
|
1217
|
+
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
1218
|
+
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
1219
|
+
readonly "@eslint-react/no-unused-state": "warn";
|
|
1220
|
+
};
|
|
1221
|
+
readonly settings: {
|
|
1222
|
+
readonly "react-x": {
|
|
1223
|
+
readonly additionalHooks: {
|
|
1224
|
+
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
1225
|
+
};
|
|
1226
|
+
readonly polymorphicPropName: "as";
|
|
1227
|
+
readonly skipImportCheck: false;
|
|
1228
|
+
readonly version: "detect";
|
|
1229
|
+
};
|
|
1230
|
+
};
|
|
1231
|
+
};
|
|
1232
|
+
readonly "recommended-typescript-legacy": {
|
|
1233
|
+
readonly plugins: readonly ["@eslint-react"];
|
|
1234
|
+
readonly rules: {
|
|
1235
|
+
readonly "@eslint-react/dom/no-unknown-property": "off";
|
|
927
1236
|
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
928
1237
|
readonly "@eslint-react/hooks-extra/no-redundant-custom-hook": "warn";
|
|
929
1238
|
readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
|
|
@@ -1083,6 +1392,7 @@ declare const _default: {
|
|
|
1083
1392
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1084
1393
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1085
1394
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1395
|
+
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1086
1396
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1087
1397
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1088
1398
|
};
|
|
@@ -1157,6 +1467,7 @@ declare const _default: {
|
|
|
1157
1467
|
};
|
|
1158
1468
|
readonly rules: {
|
|
1159
1469
|
readonly "@eslint-react/no-leaked-conditional-rendering": "warn";
|
|
1470
|
+
readonly "@eslint-react/dom/no-unknown-property": "off";
|
|
1160
1471
|
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
1161
1472
|
readonly "@eslint-react/hooks-extra/no-redundant-custom-hook": "warn";
|
|
1162
1473
|
readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
|
|
@@ -1224,6 +1535,7 @@ declare const _default: {
|
|
|
1224
1535
|
readonly plugins: readonly ["@eslint-react"];
|
|
1225
1536
|
readonly rules: {
|
|
1226
1537
|
readonly "@eslint-react/no-leaked-conditional-rendering": "warn";
|
|
1538
|
+
readonly "@eslint-react/dom/no-unknown-property": "off";
|
|
1227
1539
|
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
1228
1540
|
readonly "@eslint-react/hooks-extra/no-redundant-custom-hook": "warn";
|
|
1229
1541
|
readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
|
|
@@ -1383,6 +1695,7 @@ declare const _default: {
|
|
|
1383
1695
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1384
1696
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1385
1697
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1698
|
+
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1386
1699
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1387
1700
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1388
1701
|
};
|
|
@@ -1465,6 +1778,7 @@ declare const _default: {
|
|
|
1465
1778
|
"@eslint-react/dom/no-namespace"?: "off";
|
|
1466
1779
|
"@eslint-react/dom/no-render-return-value"?: "off";
|
|
1467
1780
|
"@eslint-react/dom/no-script-url"?: "off";
|
|
1781
|
+
"@eslint-react/dom/no-unknown-property"?: "off";
|
|
1468
1782
|
"@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
|
|
1469
1783
|
"@eslint-react/dom/no-unsafe-target-blank"?: "off";
|
|
1470
1784
|
};
|
|
@@ -1491,6 +1805,7 @@ declare const _default: {
|
|
|
1491
1805
|
"@eslint-react/dom/no-namespace"?: "off";
|
|
1492
1806
|
"@eslint-react/dom/no-render-return-value"?: "off";
|
|
1493
1807
|
"@eslint-react/dom/no-script-url"?: "off";
|
|
1808
|
+
"@eslint-react/dom/no-unknown-property"?: "off";
|
|
1494
1809
|
"@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
|
|
1495
1810
|
"@eslint-react/dom/no-unsafe-target-blank"?: "off";
|
|
1496
1811
|
};
|
|
@@ -1601,6 +1916,7 @@ declare const _default: {
|
|
|
1601
1916
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1602
1917
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1603
1918
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1919
|
+
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1604
1920
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1605
1921
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1606
1922
|
};
|
|
@@ -1805,6 +2121,7 @@ declare const _default: {
|
|
|
1805
2121
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1806
2122
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1807
2123
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2124
|
+
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1808
2125
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1809
2126
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1810
2127
|
};
|
|
@@ -2003,6 +2320,7 @@ declare const _default: {
|
|
|
2003
2320
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2004
2321
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2005
2322
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2323
|
+
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2006
2324
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2007
2325
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2008
2326
|
};
|
|
@@ -2129,6 +2447,7 @@ declare const _default: {
|
|
|
2129
2447
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
2130
2448
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
2131
2449
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
2450
|
+
readonly "@eslint-react/dom/no-unknown-property": "warn";
|
|
2132
2451
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
2133
2452
|
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
2134
2453
|
readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
|
|
@@ -2213,6 +2532,7 @@ declare const _default: {
|
|
|
2213
2532
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
2214
2533
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
2215
2534
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
2535
|
+
readonly "@eslint-react/dom/no-unknown-property": "warn";
|
|
2216
2536
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
2217
2537
|
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
2218
2538
|
readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
|
|
@@ -2337,6 +2657,7 @@ declare const _default: {
|
|
|
2337
2657
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2338
2658
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2339
2659
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2660
|
+
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2340
2661
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2341
2662
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2342
2663
|
};
|
|
@@ -2463,6 +2784,7 @@ declare const _default: {
|
|
|
2463
2784
|
readonly "@eslint-react/dom/no-namespace"?: "off";
|
|
2464
2785
|
readonly "@eslint-react/dom/no-render-return-value"?: "off";
|
|
2465
2786
|
readonly "@eslint-react/dom/no-script-url"?: "off";
|
|
2787
|
+
readonly "@eslint-react/dom/no-unknown-property"?: "off";
|
|
2466
2788
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
|
|
2467
2789
|
readonly "@eslint-react/dom/no-unsafe-target-blank"?: "off";
|
|
2468
2790
|
readonly "@eslint-react/web-api/no-leaked-event-listener"?: "off";
|
|
@@ -2547,6 +2869,7 @@ declare const _default: {
|
|
|
2547
2869
|
readonly "@eslint-react/dom/no-namespace"?: "off";
|
|
2548
2870
|
readonly "@eslint-react/dom/no-render-return-value"?: "off";
|
|
2549
2871
|
readonly "@eslint-react/dom/no-script-url"?: "off";
|
|
2872
|
+
readonly "@eslint-react/dom/no-unknown-property"?: "off";
|
|
2550
2873
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
|
|
2551
2874
|
readonly "@eslint-react/dom/no-unsafe-target-blank"?: "off";
|
|
2552
2875
|
readonly "@eslint-react/web-api/no-leaked-event-listener"?: "off";
|
|
@@ -2672,6 +2995,7 @@ declare const _default: {
|
|
|
2672
2995
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2673
2996
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2674
2997
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2998
|
+
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2675
2999
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2676
3000
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2677
3001
|
};
|
|
@@ -2754,6 +3078,7 @@ declare const _default: {
|
|
|
2754
3078
|
"@eslint-react/dom/no-namespace"?: "off";
|
|
2755
3079
|
"@eslint-react/dom/no-render-return-value"?: "off";
|
|
2756
3080
|
"@eslint-react/dom/no-script-url"?: "off";
|
|
3081
|
+
"@eslint-react/dom/no-unknown-property"?: "off";
|
|
2757
3082
|
"@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
|
|
2758
3083
|
"@eslint-react/dom/no-unsafe-target-blank"?: "off";
|
|
2759
3084
|
};
|
|
@@ -2781,6 +3106,7 @@ declare const _default: {
|
|
|
2781
3106
|
"@eslint-react/dom/no-namespace"?: "off";
|
|
2782
3107
|
"@eslint-react/dom/no-render-return-value"?: "off";
|
|
2783
3108
|
"@eslint-react/dom/no-script-url"?: "off";
|
|
3109
|
+
"@eslint-react/dom/no-unknown-property"?: "off";
|
|
2784
3110
|
"@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
|
|
2785
3111
|
"@eslint-react/dom/no-unsafe-target-blank"?: "off";
|
|
2786
3112
|
};
|
|
@@ -2840,6 +3166,7 @@ declare const _default: {
|
|
|
2840
3166
|
readonly "dom/no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2841
3167
|
readonly "dom/no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2842
3168
|
readonly "dom/no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3169
|
+
readonly "dom/no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<string, [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2843
3170
|
readonly "dom/no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2844
3171
|
readonly "dom/no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2845
3172
|
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
package/dist/index.js
CHANGED
|
@@ -21,7 +21,7 @@ var react__default = /*#__PURE__*/_interopDefault(react);
|
|
|
21
21
|
|
|
22
22
|
// package.json
|
|
23
23
|
var name = "@eslint-react/eslint-plugin";
|
|
24
|
-
var version = "1.16.0-next.
|
|
24
|
+
var version = "1.16.0-next.2";
|
|
25
25
|
function transformKeys(obj, transform) {
|
|
26
26
|
if (tools.typeOf(obj) !== "object") return obj;
|
|
27
27
|
const res = {};
|
|
@@ -95,6 +95,7 @@ var allPreset = {
|
|
|
95
95
|
"dom/no-namespace": "error",
|
|
96
96
|
"dom/no-render-return-value": "error",
|
|
97
97
|
"dom/no-script-url": "warn",
|
|
98
|
+
"dom/no-unknown-property": "warn",
|
|
98
99
|
"dom/no-unsafe-iframe-sandbox": "warn",
|
|
99
100
|
"dom/no-unsafe-target-blank": "warn",
|
|
100
101
|
// Part: Web API
|
|
@@ -172,6 +173,7 @@ var domPreset = {
|
|
|
172
173
|
"dom/no-namespace": "error",
|
|
173
174
|
"dom/no-render-return-value": "error",
|
|
174
175
|
"dom/no-script-url": "warn",
|
|
176
|
+
"dom/no-unknown-property": "warn",
|
|
175
177
|
"dom/no-unsafe-iframe-sandbox": "warn",
|
|
176
178
|
"dom/no-unsafe-target-blank": "warn"
|
|
177
179
|
};
|
|
@@ -192,8 +194,12 @@ var recommendedPreset = {
|
|
|
192
194
|
...webApiPreset,
|
|
193
195
|
...hooksExtraPreset
|
|
194
196
|
};
|
|
195
|
-
var
|
|
197
|
+
var recommendedTypeScriptPreset = {
|
|
196
198
|
...recommendedPreset,
|
|
199
|
+
"dom/no-unknown-property": "off"
|
|
200
|
+
};
|
|
201
|
+
var recommendedTypeCheckedPreset = {
|
|
202
|
+
...recommendedTypeScriptPreset,
|
|
197
203
|
"no-leaked-conditional-rendering": "warn"
|
|
198
204
|
};
|
|
199
205
|
var disableTypeCheckedPreset = {
|
|
@@ -261,6 +267,8 @@ var src_default = {
|
|
|
261
267
|
["dom-legacy"]: createLegacyConfig(domPreset),
|
|
262
268
|
["recommended"]: createFlatConfig(recommendedPreset),
|
|
263
269
|
["recommended-legacy"]: createLegacyConfig(recommendedPreset),
|
|
270
|
+
["recommended-typescript"]: createFlatConfig(recommendedTypeScriptPreset),
|
|
271
|
+
["recommended-typescript-legacy"]: createLegacyConfig(recommendedTypeScriptPreset),
|
|
264
272
|
["recommended-type-checked"]: createFlatConfig(recommendedTypeCheckedPreset),
|
|
265
273
|
["recommended-type-checked-legacy"]: createLegacyConfig(recommendedTypeCheckedPreset),
|
|
266
274
|
// Part: disable presets
|
package/dist/index.mjs
CHANGED
|
@@ -10,7 +10,7 @@ import react from 'eslint-plugin-react-x';
|
|
|
10
10
|
|
|
11
11
|
// package.json
|
|
12
12
|
var name = "@eslint-react/eslint-plugin";
|
|
13
|
-
var version = "1.16.0-next.
|
|
13
|
+
var version = "1.16.0-next.2";
|
|
14
14
|
function transformKeys(obj, transform) {
|
|
15
15
|
if (typeOf(obj) !== "object") return obj;
|
|
16
16
|
const res = {};
|
|
@@ -84,6 +84,7 @@ var allPreset = {
|
|
|
84
84
|
"dom/no-namespace": "error",
|
|
85
85
|
"dom/no-render-return-value": "error",
|
|
86
86
|
"dom/no-script-url": "warn",
|
|
87
|
+
"dom/no-unknown-property": "warn",
|
|
87
88
|
"dom/no-unsafe-iframe-sandbox": "warn",
|
|
88
89
|
"dom/no-unsafe-target-blank": "warn",
|
|
89
90
|
// Part: Web API
|
|
@@ -161,6 +162,7 @@ var domPreset = {
|
|
|
161
162
|
"dom/no-namespace": "error",
|
|
162
163
|
"dom/no-render-return-value": "error",
|
|
163
164
|
"dom/no-script-url": "warn",
|
|
165
|
+
"dom/no-unknown-property": "warn",
|
|
164
166
|
"dom/no-unsafe-iframe-sandbox": "warn",
|
|
165
167
|
"dom/no-unsafe-target-blank": "warn"
|
|
166
168
|
};
|
|
@@ -181,8 +183,12 @@ var recommendedPreset = {
|
|
|
181
183
|
...webApiPreset,
|
|
182
184
|
...hooksExtraPreset
|
|
183
185
|
};
|
|
184
|
-
var
|
|
186
|
+
var recommendedTypeScriptPreset = {
|
|
185
187
|
...recommendedPreset,
|
|
188
|
+
"dom/no-unknown-property": "off"
|
|
189
|
+
};
|
|
190
|
+
var recommendedTypeCheckedPreset = {
|
|
191
|
+
...recommendedTypeScriptPreset,
|
|
186
192
|
"no-leaked-conditional-rendering": "warn"
|
|
187
193
|
};
|
|
188
194
|
var disableTypeCheckedPreset = {
|
|
@@ -250,6 +256,8 @@ var src_default = {
|
|
|
250
256
|
["dom-legacy"]: createLegacyConfig(domPreset),
|
|
251
257
|
["recommended"]: createFlatConfig(recommendedPreset),
|
|
252
258
|
["recommended-legacy"]: createLegacyConfig(recommendedPreset),
|
|
259
|
+
["recommended-typescript"]: createFlatConfig(recommendedTypeScriptPreset),
|
|
260
|
+
["recommended-typescript-legacy"]: createLegacyConfig(recommendedTypeScriptPreset),
|
|
253
261
|
["recommended-type-checked"]: createFlatConfig(recommendedTypeCheckedPreset),
|
|
254
262
|
["recommended-type-checked-legacy"]: createLegacyConfig(recommendedTypeCheckedPreset),
|
|
255
263
|
// Part: disable presets
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "1.16.0-next.
|
|
3
|
+
"version": "1.16.0-next.2",
|
|
4
4
|
"description": "The main ESLint plugin of ESLint React. Contains all the rules and presets of ESLint React.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -43,19 +43,19 @@
|
|
|
43
43
|
"./package.json"
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@typescript-eslint/scope-manager": "^8.12.
|
|
47
|
-
"@typescript-eslint/type-utils": "^8.12.
|
|
48
|
-
"@typescript-eslint/types": "^8.12.
|
|
49
|
-
"@typescript-eslint/utils": "^8.12.
|
|
50
|
-
"@eslint-react/shared": "1.16.0-next.
|
|
51
|
-
"@eslint-react/
|
|
52
|
-
"@eslint-react/
|
|
53
|
-
"eslint-plugin-react-debug": "1.16.0-next.
|
|
54
|
-
"eslint-plugin-react-dom": "1.16.0-next.
|
|
55
|
-
"eslint-plugin-react-hooks-extra": "1.16.0-next.
|
|
56
|
-
"eslint-plugin-react-naming-convention": "1.16.0-next.
|
|
57
|
-
"eslint-plugin-react-web-api": "1.16.0-next.
|
|
58
|
-
"eslint-plugin-react-x": "1.16.0-next.
|
|
46
|
+
"@typescript-eslint/scope-manager": "^8.12.2",
|
|
47
|
+
"@typescript-eslint/type-utils": "^8.12.2",
|
|
48
|
+
"@typescript-eslint/types": "^8.12.2",
|
|
49
|
+
"@typescript-eslint/utils": "^8.12.2",
|
|
50
|
+
"@eslint-react/shared": "1.16.0-next.2",
|
|
51
|
+
"@eslint-react/types": "1.16.0-next.2",
|
|
52
|
+
"@eslint-react/tools": "1.16.0-next.2",
|
|
53
|
+
"eslint-plugin-react-debug": "1.16.0-next.2",
|
|
54
|
+
"eslint-plugin-react-dom": "1.16.0-next.2",
|
|
55
|
+
"eslint-plugin-react-hooks-extra": "1.16.0-next.2",
|
|
56
|
+
"eslint-plugin-react-naming-convention": "1.16.0-next.2",
|
|
57
|
+
"eslint-plugin-react-web-api": "1.16.0-next.2",
|
|
58
|
+
"eslint-plugin-react-x": "1.16.0-next.2"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"tsup": "^8.3.5"
|