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-nodeVerified import paths — ran on the pinned version, not inferred.
This shows how to import the shareable config in ESLint flat config format, spreading plugins and rules into your own config array.
Use ESM imports (import) in eslint.config.js. Convert from .eslintrc to flat config if needed.
Upgrade to v9 and update ESLint to 9.x.
Ensure your project uses exact versions: npm install eslint@9.39.2 eslint-plugin-n@17.24.0 --save-dev
If linting globals like process or __dirname, add globals: { process: 'readonly', __dirname: 'readonly' } or use the env config property if available.Rename .eslintrc.cjs to eslint.config.js and use import statements.
Install the peer dependency: npm install eslint-plugin-n@17.24.0 --save-dev