eslint-plugin-react-x 1.20.0-next.6 → 1.20.0-next.9
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 +3 -3
- package/dist/index.d.mts +0 -8
- package/dist/index.d.ts +0 -8
- package/dist/index.js +252 -60
- package/dist/index.mjs +252 -60
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -52,7 +52,7 @@ export default [
|
|
|
52
52
|
"react-x/no-forward-ref": "warn",
|
|
53
53
|
"react-x/no-implicit-key": "warn",
|
|
54
54
|
"react-x/no-missing-key": "error",
|
|
55
|
-
"react-x/no-nested-components": "
|
|
55
|
+
"react-x/no-nested-components": "error",
|
|
56
56
|
"react-x/no-prop-types": "error",
|
|
57
57
|
"react-x/no-redundant-should-component-update": "error",
|
|
58
58
|
"react-x/no-set-state-in-component-did-mount": "warn",
|
|
@@ -62,8 +62,8 @@ export default [
|
|
|
62
62
|
"react-x/no-unsafe-component-will-mount": "warn",
|
|
63
63
|
"react-x/no-unsafe-component-will-receive-props": "warn",
|
|
64
64
|
"react-x/no-unsafe-component-will-update": "warn",
|
|
65
|
-
"react-x/no-unstable-context-value": "
|
|
66
|
-
"react-x/no-unstable-default-props": "
|
|
65
|
+
"react-x/no-unstable-context-value": "warn",
|
|
66
|
+
"react-x/no-unstable-default-props": "warn",
|
|
67
67
|
"react-x/no-unused-class-component-members": "warn",
|
|
68
68
|
"react-x/no-unused-state": "warn",
|
|
69
69
|
},
|
package/dist/index.d.mts
CHANGED
|
@@ -69,14 +69,6 @@ declare const _default: {
|
|
|
69
69
|
/** @deprecated Use `no-complex-conditional-rendering` instead. */
|
|
70
70
|
"no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
71
71
|
};
|
|
72
|
-
DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
73
|
-
readonly additionalHooks: {
|
|
74
|
-
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
75
|
-
};
|
|
76
|
-
readonly polymorphicPropName: "as";
|
|
77
|
-
readonly strictImportCheck: true;
|
|
78
|
-
readonly version: "detect";
|
|
79
|
-
};
|
|
80
72
|
};
|
|
81
73
|
|
|
82
74
|
export { _default as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -69,14 +69,6 @@ declare const _default: {
|
|
|
69
69
|
/** @deprecated Use `no-complex-conditional-rendering` instead. */
|
|
70
70
|
"no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
71
71
|
};
|
|
72
|
-
DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
73
|
-
readonly additionalHooks: {
|
|
74
|
-
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
75
|
-
};
|
|
76
|
-
readonly polymorphicPropName: "as";
|
|
77
|
-
readonly strictImportCheck: true;
|
|
78
|
-
readonly version: "detect";
|
|
79
|
-
};
|
|
80
72
|
};
|
|
81
73
|
|
|
82
74
|
export { _default as default };
|