Removed
Reference for removed rules, presets, and settings
Rules
| Rule | Replaced by | Removed in | Reason |
|---|---|---|---|
react-x/avoid-shorthand-boolean | 2.0.0 | consolidated | |
react-x/avoid-shorthand-fragment | 2.0.0 | consolidated | |
react-x/ensure-forward-ref-using-ref | react-x/no-forward-ref | 2.0.0 | renamed |
react-x/jsx-key-before-spread | react-jsx/runtime | 4.0.0 | consolidated |
react-x/jsx-no-duplicate-props | 3.0.0 | deprecated | |
react-x/jsx-no-iife | react-x/unsupported-syntax | 3.0.0 | consolidated |
react-x/jsx-no-undef | N/A (ESLint v10.0.0+ now tracks JSX references natively) | 3.0.0 | deprecated |
react-x/jsx-shorthand-boolean | react-kit/<rule-name> | 4.0.0 | discontinued |
react-x/jsx-shorthand-fragment | react-kit/<rule-name> | 4.0.0 | discontinued |
react-x/jsx-uses-react | N/A (ESLint v10.0.0+ now tracks JSX references natively) | 3.0.0 | deprecated |
react-x/jsx-uses-vars | N/A (ESLint v10.0.0+ now tracks JSX references natively) | 3.0.0 | deprecated |
react-x/no-comment-textnodes | react-jsx/no-comment-textnodes | 2.0.0 | renamed |
react-x/no-complicated-conditional-rendering | 2.0.0 | discontinued | |
react-x/no-default-props | no-restricted-syntax | 2.9.3 | deprecated |
react-x/no-forbidden-props | no-restricted-syntax | 2.3.2 | deprecated |
react-x/no-nested-components | react-x/no-nested-component-definitions | 2.0.0 | renamed |
react-x/no-prop-types | no-restricted-syntax | 2.9.3 | deprecated |
react-x/no-string-refs | no-restricted-syntax | 2.9.3 | deprecated |
react-x/no-unnecessary-key | 3.0.0 | discontinued | |
react-x/no-unnecessary-use-ref | 2.10.0 | discontinued | |
react-x/no-useless-forward-ref | react-x/no-forward-ref | 3.0.0 | consolidated |
react-x/prefer-react-namespace-import | react-x/prefer-namespace-import | 2.0.0 | renamed |
react-x/prefer-read-only-props | react-x/immutability | 3.0.0 | consolidated |
react-x/prefer-shorthand-boolean | 2.0.0 | consolidated | |
react-x/prefer-shorthand-fragment | 2.0.0 | consolidated | |
react-x/prefer-use-state-lazy-initialization | react-x/use-state | 3.0.0 | consolidated |
react-x/use-jsx-vars | react-x/jsx-uses-vars | 2.0.0 | renamed |
react-dom/no-children-in-void-dom-elements | react-dom/no-void-elements-with-children | 2.0.0 | renamed |
react-dom/no-namespace | react-jsx/runtime | 4.0.0 | consolidated |
react-jsx/dollar | 4.0.0 | discontinued | |
react-hooks-extra/exhaustive-deps | react-x/exhaustive-deps | 2.14.0 | relocated |
react-hooks-extra/no-direct-set-state-in-use-effect | react-x/set-state-in-effect | 2.14.0 | relocated |
react-hooks-extra/no-direct-set-state-in-use-layout-effect | react-x/set-state-in-effect | 2.0.0 | consolidated |
react-hooks-extra/no-unnecessary-use-callback | react-x/no-unnecessary-use-callback | 2.0.0 | relocated |
react-hooks-extra/no-unnecessary-use-memo | react-x/no-unnecessary-use-memo | 2.0.0 | relocated |
react-hooks-extra/no-unnecessary-use-prefix | react-x/no-unnecessary-use-prefix | 2.0.0 | relocated |
react-hooks-extra/prefer-use-state-lazy-initialization | react-x/prefer-use-state-lazy-initialization | 2.0.0 | relocated |
react-hooks-extra/rules-of-hooks | react-x/rules-of-hooks | 2.14.0 | relocated |
react-naming-convention/component-name | 3.0.0 | deprecated | |
react-naming-convention/filename-extension | 2.13.0 | deprecated | |
react-naming-convention/filename | 2.13.0 | deprecated |
Presets
| Preset | Replaced by | Removed in | Reason |
|---|---|---|---|
core | x | 2.0.0 | renamed |
off-dom | disable-dom | 2.0.0 | renamed |
Settings
| Setting | Replaced by | Removed in | Reason |
|---|---|---|---|
additionalComponents | 2.0.0 | discontinued | |
additionalHooks | 2.0.0 | discontinued | |
skipImportCheck | 2.0.0 | discontinued |