ESLint configuration and rules bundle based on Create React App's eslint-config-react-app. Version 6.2.2 wraps eslint-config-react-app 5.2.1 and includes plugins for import, flowtype, JSX-a11y, React, React Hooks, and TypeScript. Designed as a single-dependency drop-in for CRA-style linting without manually installing each sub-plugin. Works in React Native. Requires ESLint 6.x peer dependency. Release cadence is sporadic, tied to upstream CRA config updates.
npm install eslint-plugin-react-appVerified import paths — ran on the pinned version, not inferred.
Installs eslint and the plugin, then configures ESLint to use the CRA recommended rules and override one rule.
Prefix any rule from eslint-plugin-import, eslint-plugin-react, etc. with 'react-app/', e.g., 'react-app/react/jsx-uses-react'.
Review changelog of eslint-config-react-app for rule changes; adjust your overrides.
Consider using @rushstack/eslint-config or direct eslint-config-react-app with all peer deps for official support.
Stay on ESLint 6.x or use later version of eslint-plugin-react-app if available (currently none). Check peerDependencies.
Run `npm install --save-dev eslint-plugin-react-app` and ensure it's in package.json.
Use 'react-app/react/react-in-jsx-scope' instead.
Delete node_modules and package-lock.json, then reinstall.
Downgrade ESLint to 6.x: `npm install --save-dev eslint@6`.