Registry / testing / eslint-config-seekingalpha-react

eslint-config-seekingalpha-react

JSON →
library10.34.0jsnpmunverified

SeekingAlpha's shareable ESLint config for React.js projects. Current stable version 10.34.0, requires Node >= 24 and ESLint 9.39.2. This flat config (ESLint 9+) bundles rules from eslint-plugin-react, eslint-plugin-jsx-a11y, and eslint-plugin-react-hooks. It is an opinionated, company-internal preset but publicly available. Unlike generic configs (e.g., eslint-config-airbnb), it is tailored to SeekingAlpha's code style and focuses on React, accessibility, and hooks best practices. Releases follow the plugin's updates with manual bumps.

npm install eslint-config-seekingalpha-react
INSTALL
IMPORT
SIG · ESLINT-CONFIG-SEEK
E
eslint-config-seekingalpha-react
testingjavascriptv10.34.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 reactConfig from 'eslint-config-seekingalpha-react'
const reactConfig = require('eslint-config-seekingalpha-react')
ESLint 9 flat config is ESM-only; CommonJS require throws error.
plugins and rules spread
export default [{ plugins: { ...reactConfig.plugins }, rules: { ...reactConfig.rules } }]
export default [reactConfig]
Direct array spread may fail if reactConfig lacks expected structure; the correct pattern spreads plugins and rules explicitly.
config object
import reactConfig from 'eslint-config-seekingalpha-react';
import { reactConfig } from 'eslint-config-seekingalpha-react'
Export is default only, not named.

Shows how to use the shareable config in an ESLint flat config file, importing the default export and merging plugins and rules.

// eslint.config.js import reactConfig from 'eslint-config-seekingalpha-react'; export default [ { files: ['src/**/*.{js,jsx,ts,tsx}'], plugins: { ...reactConfig.plugins, }, rules: { ...reactConfig.rules, // Override any rules as needed 'react/prop-types': 'off', // Example override }, }, ];
Debug
Known issues
breakingVersion 10.x requires ESLint 9.x flat config format; previous versions used .eslintrc format.
fix
Update to ESLint 9 and use flat config (eslint.config.js). For ESLint 8, pin to version 9.x.
affects: >=10.0.0
breakingPeer dependency versions are pinned to exact versions (e.g., eslint@9.39.2). Using different versions may cause rule incompatibilities.
fix
Install exact peer versions: eslint@9.39.2, eslint-plugin-jsx-a11y@6.10.2, eslint-plugin-react@7.37.5, eslint-plugin-react-hooks@7.1.1.
affects: >=10.0.0
gotchaThe config exports an object with plugins and rules properties, not a flat array. Spreading directly into array may break if config is not iterable.
fix
Always access .plugins and .rules explicitly, as shown in the documentation.
affects: >=10.0.0
deprecatedThis config may not be actively maintained as it mirrors SeekingAlpha's internal setup. Check for new releases before upgrading ESLint.
fix
Monitor GitHub releases or consider a community-maintained alternative if updates lag.
affects: all
Errors
Common errors & fixes
Error: Cannot find module 'eslint-config-seekingalpha-react'
Package not installed or missing from node_modules.
fix
Run: npm install eslint-config-seekingalpha-react --save-dev
Error [ERR_REQUIRE_ESM]: require() of ES Module from CommonJS not supported.
Using require() with an ESM-only package (ESLint 9 flat config).
fix
Use import syntax: import reactConfig from 'eslint-config-seekingalpha-react'
TypeError: reactConfig is not iterable
Spreading the entire config object directly into an array (e.g., export default [...reactConfig]).
fix
Use export default [{ plugins: { ...reactConfig.plugins }, rules: { ...reactConfig.rules } }]
Upgrade
Version history
10.34.0latest on npm
Audit
Dependencies
eslintrequiredpeer dependency: ESLint 9.39.2 required for flat config
eslint-plugin-jsx-a11yrequiredpeer dependency: provides JSX accessibility rules
eslint-plugin-reactrequiredpeer dependency: provides React-specific linting rules
eslint-plugin-react-hooksrequiredpeer dependency: enforces React Hooks rules
Agent activity
2 hits · last 30 days
node
2
Resources
eslint-config-seekingalpha-react — npm install eslint-config-seekingalpha-react · libregistry