Registry / testing / eslint-config-seekingalpha-node

eslint-config-seekingalpha-node

JSON →
library9.32.0jsnpmunverified

SeekingAlpha's shareable ESLint config for Node.js projects, version 9.32.0. This config packages rules from eslint-plugin-n for Node.js linting. It requires ESLint 9.39.2 and eslint-plugin-n 17.24.0 as peer dependencies and is designed for flat config only. Maintained by SeekingAlpha, it enforces a specific rule set tailored for Node.js development.

npm install eslint-config-seekingalpha-node
INSTALL
IMPORT
SIG · ESLINT-CONFIG-SEEK
E
eslint-config-seekingalpha-node
testingjavascriptv9.32.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 nodeConfig from 'eslint-config-seekingalpha-node'
const nodeConfig = require('eslint-config-seekingalpha-node')
ESM-only since v9; CommonJS require is not supported.
plugins
import nodeConfig from 'eslint-config-seekingalpha-node'; const { plugins } = nodeConfig;
const { plugins } = require('eslint-config-seekingalpha-node')
Accessing plugins property from config. CommonJS require is not supported.
rules
import nodeConfig from 'eslint-config-seekingalpha-node'; const { rules } = nodeConfig;
const { rules } = require('eslint-config-seekingalpha-node')
Accessing rules property from config. CommonJS require is not supported.

This shows how to import the shareable config in ESLint flat config format, spreading plugins and rules into your own config array.

import nodeConfig from 'eslint-config-seekingalpha-node'; export default [ { plugins: { ...nodeConfig.plugins, }, rules: { ...nodeConfig.rules, }, }, ];
Debug
Known issues
breakingv9 is ESM-only and requires flat config; CommonJS and legacy eslintrc format are not supported.
fix
Use ESM imports (import) in eslint.config.js. Convert from .eslintrc to flat config if needed.
affects: >=9.0.0
deprecatedv8.x is no longer maintained; upgrade to v9 for continued updates.
fix
Upgrade to v9 and update ESLint to 9.x.
affects: 8.x
breakingPeer dependency version requirements are strict: ESLint 9.39.2 and eslint-plugin-n 17.24.0. Installing other versions may cause conflicts.
fix
Ensure your project uses exact versions: npm install eslint@9.39.2 eslint-plugin-n@17.24.0 --save-dev
affects: >=9.0.0
gotchaThis config does not include any parser or environment; you may need to add parserOptions or env per your Node version.
fix
If linting globals like process or __dirname, add globals: { process: 'readonly', __dirname: 'readonly' } or use the env config property if available.
affects: >=9.0.0
Errors
Common errors & fixes
Error [ERR_REQUIRE_ESM]: require() of ES Module /path/to/node_modules/eslint-config-seekingalpha-node/index.js from /path/to/.eslintrc.cjs not supported.
Attempting to use require() on an ESM-only module.
fix
Rename .eslintrc.cjs to eslint.config.js and use import statements.
Cannot find module 'eslint-plugin-n'
Missing peer dependency eslint-plugin-n.
fix
Install the peer dependency: npm install eslint-plugin-n@17.24.0 --save-dev
Upgrade
Version history
9.32.0latest on npm
Audit
Dependencies
eslintrequiredpeer dependency required
eslint-plugin-nrequiredpeer dependency providing Node.js rules
Agent activity
2 hits · last 30 days
node
2
Resources
eslint-config-seekingalpha-node — npm install eslint-config-seekingalpha-node · libregistry