Registry / testing / eslint-config-node

eslint-config-node

JSON →
library4.1.0jsnpmunverified

Pluggable ESLint config for Node.js that you can import, extend and override. Version 4.1.0 provides opinionated safety checks and best practices with a bias toward code concision. It extends eslint-config-esnext and sets the Node.js environment. Release cadence is irregular; the package has not been updated since 2019. Key differentiator: it is a superset config that errs on the side of too many rules, easily overridable.

npm install eslint-config-node
INSTALL
IMPORT
SIG · ESLINT-CONFIG-NODE
E
eslint-config-node
testingjavascriptv4.1.0
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
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 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

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

node config
extends: ['node'] in .eslintrc
Not applicable as it's a config package.
This is an ESLint shareable config, not a JS module.

Install the config and peer dependency, then extend 'node' in your .eslintrc.

npm install --save-dev eslint-config-node eslint@^6.0.0 # Then in .eslintrc.yaml: # extends: # - node # Or in .eslintrc.json: # { "extends": ["node"] }
Debug
Known issues
breakingRequires eslint ^6.0.0; not compatible with ESLint 7+
fix
Use eslint-config-node@5 for ESLint 7+ or eslint@^6.0.0
affects: >=4.0.0
deprecatedPackage is no longer actively maintained; last release 2019
fix
Consider alternatives like eslint-config-standard or eslint-plugin-n
affects: >=4.0.0
gotchaeslint-config-node extends eslint-config-esnext, which may conflict with other configs
fix
Override rules explicitly in your .eslintrc after extending
affects: all
gotchaRule 'no-sync' is set to warn by default, may be unexpected
fix
Override rule severity in your config: 'no-sync': 'off' or 'error'
affects: all
Errors
Common errors & fixes
Error: Failed to load plugin 'eslint-plugin-node': Cannot find module 'eslint-plugin-node'
This config does not depend on eslint-plugin-node; it's a different package
fix
Ensure you are using eslint-config-node (not eslint-plugin-node) and check peer deps
ESLint couldn't find the config "node" after extending from "node"
Missing eslint-config-node installation or incorrect config name
fix
Run 'npm install --save-dev eslint-config-node eslint@^6.0.0' and ensure extends: ['node']
Upgrade
Version history
4.1.0latest on npm
Audit
Dependencies
eslintrequiredpeer dependency required for linting
Agent activity
2 hits · last 30 days
node
2
Resources
eslint-config-node — npm install eslint-config-node · libregistry