logoESLint React

Removed

Reference for removed rules, presets, and settings

Rules

RuleReplaced byRemoved inReason
react-x/avoid-shorthand-boolean2.0.0consolidated
react-x/avoid-shorthand-fragment2.0.0consolidated
react-x/ensure-forward-ref-using-refreact-x/no-forward-ref2.0.0renamed
react-x/jsx-key-before-spreadreact-jsx/runtime4.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-booleanreact-kit/<rule-name>4.0.0discontinued
react-x/jsx-shorthand-fragmentreact-kit/<rule-name>4.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-string-refsno-restricted-syntax2.9.3deprecated
react-x/no-unnecessary-key3.0.0discontinued
react-x/no-unnecessary-use-ref2.10.0discontinued
react-x/no-useless-forward-refreact-x/no-forward-ref3.0.0consolidated
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/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/runtime4.0.0consolidated
react-jsx/dollar4.0.0discontinued
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-callbackreact-x/no-unnecessary-use-callback2.0.0relocated
react-hooks-extra/no-unnecessary-use-memoreact-x/no-unnecessary-use-memo2.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/prefer-use-state-lazy-initialization2.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

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