{"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,"search_vec":"'2019':30 '4.1.0':23 '6.0.0':86 '7':75 'babel':55,61 'babel-eslint':54 'bias':33 'breviti':43 'built':44 'code':40 'commonj':72 'concis':41 'config':3,7,95 'current':19 'depend':90 'design':76 'ecmascript':9,74 'es2015':11,100 'es2016':101 'es6':70,98 'es7':99 'eslint':2,6,48,56,85,92,94 'eslint-config':93 'eslint-config-esnext':1 'eslintconfig':96 'esnext':4,97 'experiment':64 'extend':16 'favor':39 'featur':65 'import':15,52 'includ':63 'infrequ':25 'javascript':91 'last':26 'like':66 'lint':37 'modul':71 'next':10 'object':67 'opinion':34 'overrid':18,83 'parser':57 'peer':89 'pluggabl':5 'plugin':51 'provid':31 'recommend':49 'releas':24,27 'requir':84 'rest/spread':68 'rule':38 'set':35 'stabl':20 'superset':79 'support':59,69 'syntax':62 'top':46 'use':53 'version':21","created_at":"2026-04-25T11:18:11.395983+00:00","updated_at":"2026-04-25T11:18:11.395983+00:00","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,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"eslint","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/kunalgolani/eslint-config","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/eslint-config-esnext","openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-07-24","install_tag":null}}