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.

testing
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.

This is an ESLint shareable config, not a JS module.

extends: ['node'] in .eslintrc

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 footguns
breakingRequires eslint ^6.0.0; not compatible with ESLint 7+
deprecatedPackage is no longer actively maintained; last release 2019
gotchaeslint-config-node extends eslint-config-esnext, which may conflict with other configs
gotchaRule 'no-sync' is set to warn by default, may be unexpected
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
9 hits · last 30 days
gptbot
4
ahrefsbot
4
script
1
Resources