Repository navigation
Major Changes
-
8879fbbThanks @Komdosh! - Migrate fromeslint-plugin-reactandeslint-plugin-react-hooksto the unified
@eslint-react/eslint-plugin.The
configs.reactnow exposes therecommended-typescriptpreset from
@eslint-react, which already bundles the React Hooks rules (rules-of-hooks
andexhaustive-deps).Breaking Changes
eslint-plugin-reactandeslint-plugin-react-hooksare no longer
dependencies. Rule identifiers change fromreact/*andreact-hooks/*to
@eslint-react/*(see the upstream
migration guide).configs.reactHookshas been removed. Its functionality is now part of
configs.react.configs.reactandpresets.reactno longer accept thejsxRuntimeand
versionoptions. The new plugin defaults to the automatic JSX runtime and
auto-detects the React version.- The
ReactOptionstype export has been removed.