Registry / testing / eslint-config-recommended

eslint-config-recommended

JSON →
library4.1.0jsnpmunverified

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.

npm install eslint-config-recommended
INSTALL
IMPORT
SIG · ESLINT-CONFIG-RECO
E
eslint-config-recommended
testingjavascriptv4.1.0
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18–226 runs
build_error
glibc
node 18–226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

eslint-config-recommended
✓ In .eslintrc.*: extends: ['recommended/esnext'] or require('eslint-config-recommended')
✗ import config from 'eslint-config-recommended'
This is a shareable config, not a JS module; use ESLint extends with the recommended prefix.
recommended/esnext
✓ extends: ['recommended/esnext']
✗ extends: ['esnext']
Without recommended prefix, ESLint looks for eslint-config-esnext. Always use full path.
recommended/react-native
✓ extends: ['recommended/react-native']
✗ extends: ['react-native']
Same as above; full path required unless you install eslint-config-react-native separately.

Shows how to set up ESLint with the recommended/esnext config and override a rule.

// .eslintrc.json { "extends": ["recommended/esnext", "recommended/esnext/style-guide"], "rules": { "no-console": "off" } } // install npm install --save-dev eslint-config-recommended eslint
Debug
Known issues
deprecatedESLint v6 is end-of-life; config may not support newer ESLint versions.
fix
Consider migrating to a actively maintained config like eslint-config-airbnb or eslint-config-standard.
affects: >6
gotchaConfig files must use 'recommended/' prefix in extends array; otherwise ESLint looks for separate packages.
fix
Use extends: ['recommended/esnext'] instead of extends: ['esnext'].
affects: >=1.0
gotchaConfigs are opinionated and enable many rules; may conflict with your codebase.
fix
Override specific rules in your .eslintrc to disable or adjust.
affects: >=1.0
Errors
Common errors & fixes
Configuration for rule "no-unused-vars" is invalid
The rule options may be incompatible with your config version.
fix
Check rule options in the official ESLint documentation and adjust accordingly.
Cannot find module 'eslint-config-recommended'
Package not installed or not in node_modules.
fix
Run npm install --save-dev eslint-config-recommended.
Upgrade
Version history
4.1.0latest on npm
Audit
Dependencies
eslintrequiredpeer dependency required to provide ESLint engine v6.0.0 or above
Agent activity
4 hits · last 30 days
node
4
Resources
eslint-config-recommended — npm install eslint-config-recommended · libregistry