Try @eslint-react/kit@beta
logoESLint React

Removed

Reference for removed rules, presets, and settings

import { InlineTOC } from "fumadocs-ui/components/inline-toc";

Table of Contents

Rules

RuleReplaced byRemoved inReason
react-x/avoid-shorthand-boolean2.0.0consolidated
react-x/avoid-shorthand-fragment2.0.0consolidated
react-x/component-hook-factoriesN/A (eslint-plugin-react-hooks removed the equivalent rule upstream)5.4.0upstream removed
react-x/ensure-forward-ref-using-refreact-x/no-forward-ref2.0.0renamed
react-x/jsx-dollar4.0.0discontinued
react-x/jsx-key-before-spreadreact-jsx/no-key-after-spread4.0.0consolidated
react-x/jsx-no-duplicate-props3.0.0deprecated
react-x/jsx-no-iifereact-x/unsupported-syntax3.0.0consolidated
react-x/jsx-no-undefN/A (ESLint v10.0.0+ now tracks JSX references natively)3.0.0deprecated
react-x/jsx-shorthand-boolean@eslint-react/kit4.0.0discontinued
react-x/jsx-shorthand-fragment@eslint-react/kit4.0.0discontinued
react-x/jsx-uses-reactN/A (ESLint v10.0.0+ now tracks JSX references natively)3.0.0deprecated
react-x/jsx-uses-varsN/A (ESLint v10.0.0+ now tracks JSX references natively)3.0.0deprecated
react-x/no-comment-textnodesreact-jsx/no-comment-textnodes2.0.0renamed
react-x/no-complicated-conditional-rendering2.0.0discontinued
react-x/no-default-propsno-restricted-syntax2.9.3deprecated
react-x/no-forbidden-propsno-restricted-syntax2.3.2deprecated
react-x/no-nested-componentsreact-x/no-nested-component-definitions2.0.0renamed
react-x/no-prop-typesno-restricted-syntax2.9.3deprecated
react-x/no-redundant-should-component-updateno-unused-class-component-members5.0.0consolidated
react-x/no-string-refsno-restricted-syntax2.9.3deprecated
react-x/no-unnecessary-key3.0.0discontinued
react-x/no-unnecessary-use-callbackN/A (Rule deprecated due to being inherently incompatible with React Compiler)5.0.0deprecated
react-x/no-unnecessary-use-memoN/A (Rule deprecated due to being inherently incompatible with React Compiler)5.0.0deprecated
react-x/no-unnecessary-use-ref2.10.0discontinued
react-x/no-useless-forward-refreact-x/no-forward-ref3.0.0consolidated
react-x/prefer-destructuring-assignmentN/A (Rule deprecated due to low usage, use @eslint-react/kit to implement as a custom rule instead)5.0.0deprecated
react-x/prefer-namespace-importN/A (Rule deprecated due to low usage, use @eslint-react/kit to implement as a custom rule instead)5.0.0deprecated
react-x/prefer-react-namespace-importreact-x/prefer-namespace-import2.0.0renamed
react-x/prefer-read-only-propsreact-x/immutability3.0.0consolidated
react-x/prefer-shorthand-boolean2.0.0consolidated
react-x/prefer-shorthand-fragment2.0.0consolidated
react-x/prefer-use-state-lazy-initializationreact-x/use-state3.0.0consolidated
react-x/unstable-rules-of-propsRecipes: custom-rules-of-props4.2.1discontinued
react-x/unstable-rules-of-stateRecipes: custom-rules-of-state4.2.1discontinued
react-x/use-jsx-varsreact-x/jsx-uses-vars2.0.0renamed
react-dom/no-children-in-void-dom-elementsreact-dom/no-void-elements-with-children2.0.0renamed
react-dom/no-namespacereact-jsx/no-namespace4.0.0consolidated
react-dom/prefer-namespace-importN/A (Rule deprecated due to low usage, use @eslint-react/kit to implement as a custom rule instead)5.0.0deprecated
react-hooks-extra/exhaustive-depsreact-x/exhaustive-deps2.14.0relocated
react-hooks-extra/no-direct-set-state-in-use-effectreact-x/set-state-in-effect2.14.0relocated
react-hooks-extra/no-direct-set-state-in-use-layout-effectreact-x/set-state-in-effect2.0.0consolidated
react-hooks-extra/no-unnecessary-use-callbackN/A (Rule deprecated due to being inherently incompatible React Compiler)2.0.0relocated
react-hooks-extra/no-unnecessary-use-memoN/A (Rule deprecated due to being inherently incompatible React Compiler)2.0.0relocated
react-hooks-extra/no-unnecessary-use-prefixreact-x/no-unnecessary-use-prefix2.0.0relocated
react-hooks-extra/prefer-use-state-lazy-initializationreact-x/use-state2.0.0relocated
react-hooks-extra/rules-of-hooksreact-x/rules-of-hooks2.14.0relocated
react-naming-convention/component-name3.0.0deprecated
react-naming-convention/filename-extension2.13.0deprecated
react-naming-convention/filename2.13.0deprecated
debug/class-componentN/A (Debug rule removed)5.0.0deprecated

Presets

PresetReplaced byRemoved inReason
corex2.0.0renamed
off-domdisable-dom2.0.0renamed

Settings

SettingReplaced byRemoved inReason
additionalComponents2.0.0discontinued
additionalHooks2.0.0discontinued
skipImportCheck2.0.0discontinued