Registry / testing / eslint-config-neon

eslint-config-neon

JSON →
library0.4.0jsnpmunverified

eslint-config-neon is an all-in-one ESLint shareable config for modern JavaScript and TypeScript projects. Version 0.4.0 requires Node ^20.19.0 || ^22.13.0 || >=24. It provides a curated set of rules covering code quality, style, and TypeScript best practices, aiming to reduce configuration overhead. Unlike many other configs (e.g., standard, airbnb), it is opinionated but minimal, and ships with TypeScript definitions. It does not include plugins as dependencies; users must install peer deps. Active development with frequent updates.

npm install eslint-config-neon
INSTALL
IMPORT
SIG · ESLINT-CONFIG-NEON
E
eslint-config-neon
testingjavascriptv0.4.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.

default
import neon from 'eslint-config-neon'
const neon = require('eslint-config-neon')
ESM-only; use dynamic import in CJS or await import.
neon
const neon = await import('eslint-config-neon')
const neon = require('eslint-config-neon')
CJS projects must use dynamic import.
neon
const neon = await import('eslint-config-neon')
For ESLint flat config: use spread operator.
neon
// eslint.config.js import neon from 'eslint-config-neon'; export default [ ...neon, ];
module.exports = require('eslint-config-neon')
Flat config (ESLint >=9) requires ESM.

Shows how to use the flat config with TypeScript and ESM.

// eslint.config.js import neon from 'eslint-config-neon'; export default [ ...neon, { rules: { 'no-console': 'warn', }, }, ];
Debug
Known issues
breakingVersion 0.3.0+ changed to ESM-only; CJS require() no longer works.
fix
Use import() or dynamic import in CommonJS.
affects: >=0.3.0
breakingRequires Node 20.19.0+ as of v0.4.0; older Node versions will fail.
fix
Update Node to ^20.19.0 || ^22.13.0 || >=24.
affects: >=0.4.0
gotchaThis config expects peer dependencies like eslint, @typescript-eslint/parser, etc. Not auto-installing them may cause missing plugin errors.
fix
Install peer deps manually or use npm >=7 which auto-installs peers.
affects: *
deprecatedESLint legacy config (.eslintrc) is not supported; only flat config (eslint.config.js) works.
fix
Migrate to flat config (https://eslint.org/docs/latest/use/configure/configuration-files).
affects: >=0.2.0
gotchaConfig overrides may not merge as expected due to flat config array order.
fix
Place custom config objects after the spread to override rules.
affects: *
Errors
Common errors & fixes
Error [ERR_REQUIRE_ESM]: require() of ES Module from not supported.
Using require() on an ESM-only package.
fix
Use import() or dynamic import: const neon = await import('eslint-config-neon');
Could not find 'eslint' as a plugin or config.
Missing peer dependencies (e.g., eslint, @typescript-eslint/parser).
fix
Run npm install eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin --save-dev
Configuration for rule "@typescript-eslint/no-unused-vars" is invalid.
Rules from peer plugins may have been removed or renamed.
fix
Check that peer deps match the expected versions for this config.
Upgrade
Version history
0.4.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
eslint-config-neon — npm install eslint-config-neon · libregistry