{"id":19567,"library":"eslint-config-recommended","title":"ESLint Config Recommended","description":"A pluggable ESLint configuration pack for ES.Next (ES2015+), Node.js, and React Native. Version 4.1.0 supports ESLint 6.x. Provides pre-defined configs (esnext, node, react-native) with optional style-guide variants. Unlike many single-purpose configs, this package combines multiple environments and can be extended/overridden per rule. Allows granular installation of individual configs (eslint-config-esnext, eslint-config-node, eslint-config-react-native). Last release appears stale; check for newer versions or consider modern alternatives like eslint-config-airbnb or eslint-config-standard.","status":"maintenance","version":"4.1.0","language":"javascript","source_language":"en","source_url":"https://github.com/kunalgolani/eslint-config","tags":["javascript","eslint","eslint-config","eslintconfig","esnext","es6","es7","es2015","es2016"],"install":[{"cmd":"npm install eslint-config-recommended","lang":"bash","label":"npm"},{"cmd":"yarn add eslint-config-recommended","lang":"bash","label":"yarn"},{"cmd":"pnpm add eslint-config-recommended","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency required to provide ESLint engine v6.0.0 or above","package":"eslint","optional":false}],"imports":[{"note":"This is a shareable config, not a JS module; use ESLint extends with the recommended prefix.","wrong":"import config from 'eslint-config-recommended'","symbol":"eslint-config-recommended","correct":"In .eslintrc.*: extends: ['recommended/esnext'] or require('eslint-config-recommended')"},{"note":"Without recommended prefix, ESLint looks for eslint-config-esnext. Always use full path.","wrong":"extends: ['esnext']","symbol":"recommended/esnext","correct":"extends: ['recommended/esnext']"},{"note":"Same as above; full path required unless you install eslint-config-react-native separately.","wrong":"extends: ['react-native']","symbol":"recommended/react-native","correct":"extends: ['recommended/react-native']"}],"quickstart":{"code":"// .eslintrc.json\n{\n  \"extends\": [\"recommended/esnext\", \"recommended/esnext/style-guide\"],\n  \"rules\": {\n    \"no-console\": \"off\"\n  }\n}\n\n// install\nnpm install --save-dev eslint-config-recommended eslint","lang":"json","description":"Shows how to set up ESLint with the recommended/esnext config and override a rule."},"warnings":[{"fix":"Consider migrating to a actively maintained config like eslint-config-airbnb or eslint-config-standard.","message":"ESLint v6 is end-of-life; config may not support newer ESLint versions.","severity":"deprecated","affected_versions":">6"},{"fix":"Use extends: ['recommended/esnext'] instead of extends: ['esnext'].","message":"Config files must use 'recommended/' prefix in extends array; otherwise ESLint looks for separate packages.","severity":"gotcha","affected_versions":">=1.0"},{"fix":"Override specific rules in your .eslintrc to disable or adjust.","message":"Configs are opinionated and enable many rules; may conflict with your codebase.","severity":"gotcha","affected_versions":">=1.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Check rule options in the official ESLint documentation and adjust accordingly.","cause":"The rule options may be incompatible with your config version.","error":"Configuration for rule \"no-unused-vars\" is invalid"},{"fix":"Run npm install --save-dev eslint-config-recommended.","cause":"Package not installed or not in node_modules.","error":"Cannot find module 'eslint-config-recommended'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}