Automatically configure ESLint based on project dependencies. Version 0.9.0. Analyzes your package.json dependencies and selects appropriate Airbnb ESLint config and plugins (Babel, React, TypeScript, etc.) dynamically. Reduces manual ESLint config management. Notable for auto-detecting plugins like eslint-plugin-react, eslint-plugin-jsx-a11y, and more. Released under MIT license. Lower maintenance as of recent versions.
npm install eslint-config-autoVerified import paths — ran on the pinned version, not inferred.
Shows install, config file setup, and typical ESLint usage with auto-detection of plugins.
Copy and paste the npm install output printed when you first run ESLint after adding eslint-config-auto.
Add your custom rules after the 'auto' extends, or disable specific rules in overrides.
Add babel to devDependencies or set 'babel':true in settings if using transpiled code (e.g., create-react-app).
Explicitly set settings.compat = true in .eslintrc to enable compat checks.
Run the npm install command printed in the eslint output (e.g., npm install eslint-plugin-react --save-dev)
Add 'babel' to devDependencies or set settings.babel=true in .eslintrc