{"id":19509,"library":"eslint-config-esnext","title":"eslint-config-esnext","description":"Pluggable ESLint config for ECMAScript Next (ES2015+) that you can import, extend and override. Current stable version is 4.1.0. Released infrequently; last release was in 2019. Provides a biased, opinionated set of lint rules favoring code concision and brevity, built on top of eslint:recommended and plugin:import. Uses babel-eslint parser to support all Babel syntax including experimental features like object rest/spread. Supports ES6 modules, CommonJS, and ECMAScript 7. Designed as a superset that you can override. Requires eslint ^6.0.0 as a peer dependency.","status":"active","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-esnext","lang":"bash","label":"npm"},{"cmd":"yarn add eslint-config-esnext","lang":"bash","label":"yarn"},{"cmd":"pnpm add eslint-config-esnext","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"For shareable configs, you can omit the eslint-config- prefix when extending in ESLint.","wrong":"extends: ['eslint-config-esnext']","symbol":"esnext config","correct":"extends: ['esnext']"},{"note":"In YAML, use list syntax. In JSON/JS, use an array.","wrong":"extends: eslint-config-esnext","symbol":".eslintrc file","correct":"extends:\n  - esnext"},{"note":"eslint is a peer dependency and must be installed separately. Version ^6.0.0 is required.","wrong":"npm install --save-dev eslint-config-esnext (without eslint)","symbol":"peer dependency","correct":"npm install --save-dev eslint@^6.0.0 eslint-config-esnext"}],"quickstart":{"code":"// Install dependencies:\n// npm install --save-dev eslint@^6.0.0 eslint-config-esnext\n\n// .eslintrc.json\n{\n  \"extends\": [\"esnext\"]\n}\n\n// .eslintrc.js\nmodule.exports = {\n  extends: ['esnext'],\n  rules: {\n    'no-console': 'off' // override a rule\n  }\n};","lang":"javascript","description":"Install eslint and eslint-config-esnext, then configure .eslintrc with extends: ['esnext']. Shows basic usage and override."},"warnings":[{"fix":"Replace babel-eslint with @babel/eslint-parser and update parser option to '@babel/eslint-parser'.","message":"babel-eslint is deprecated; use @babel/eslint-parser instead.","severity":"deprecated","affected_versions":">=4.0.0"},{"fix":"Downgrade eslint to version 6.x or use a different config that supports eslint 7+.","message":"Requires eslint ^6.0.0. Not compatible with eslint 7+.","severity":"breaking","affected_versions":">=4.0.0"},{"fix":"Consider updating parser manually to @babel/eslint-parser with @babel/eslint-plugin.","message":"Config uses parser: babel-eslint which may not support the latest ECMAScript proposals. Rules may not be enforced correctly.","severity":"gotcha","affected_versions":">=3.0.0"},{"fix":"Override rules in your own .eslintrc after extending.","message":"The config is highly opinionated with many rules enabled; may conflict with other configs or project preferences.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Use ecmaVersion: 2021 or later and remove experimentalObjectRestSpread.","message":"ExperimentalObjectRestSpread parser option is deprecated in modern ESLint.","severity":"deprecated","affected_versions":">=3.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Run 'npm install --save-dev eslint-config-esnext' in your project root.","cause":"ESLint config not installed or not resolved because the package name is not in node_modules.","error":"Error: Cannot find module 'eslint-config-esnext'"},{"fix":"Run 'npm install --save-dev eslint-plugin-import' to install the required plugin.","cause":"Plugin eslint-plugin-import may not be installed; it is a dependency of eslint-config-esnext but not automatically installed via npm.","error":"Configuration for rule 'import/no-unresolved' is invalid"},{"fix":"Downgrade eslint to version ^6.0.0.","cause":"Incompatible eslint version (e.g., eslint 7.x) with config that expects eslint ^6.","error":"Cannot read property 'isEcmaVersion' of undefined"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}