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-reactVerified import paths — ran on the pinned version, not inferred.
Shows how to use the shareable config in an ESLint flat config file, importing the default export and merging plugins and rules.
Update to ESLint 9 and use flat config (eslint.config.js). For ESLint 8, pin to version 9.x.
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.
Always access .plugins and .rules explicitly, as shown in the documentation.
Monitor GitHub releases or consider a community-maintained alternative if updates lag.
Run: npm install eslint-config-seekingalpha-react --save-dev
Use import syntax: import reactConfig from 'eslint-config-seekingalpha-react'
Use export default [{ plugins: { ...reactConfig.plugins }, rules: { ...reactConfig.rules } }]