SeekingAlpha's shareable ESLint configuration for testing environments using ESLint 9.39.2, eslint-plugin-jest 29.15.2, and eslint-plugin-testing-library 7.16.2. This config is designed for ES6+ codebases and is distributed under MIT license. It requires Node.js >= 24 and uses the flat config format (eslint.config.js) introduced in ESLint 9. The package enforces Jest and Testing Library best practices for unit and integration tests. It is part of SeekingAlpha's JavaScript monorepo and follows their internal coding standards.
npm install eslint-config-seekingalpha-testsVerified import paths — ran on the pinned version, not inferred.
Shows how to use the shareable config in eslint.config.js by importing the default export and spreading its plugins and rules.
Migrate to eslint.config.js flat config format. See ESLint documentation.
Upgrade Node.js to 24 or later.
Wrap in an array as shown in the quickstart example, or spread plugins and rules into a new config object.
Install with exact versions: npm install eslint@9.39.2 eslint-plugin-jest@29.15.2 eslint-plugin-testing-library@7.16.2 --save-dev
Consider creating your own ESLint config or using community alternatives like eslint-config-jest.
Run 'npm install eslint-config-seekingalpha-tests@latest --save-dev'
Use import statement in an ESM context (e.g., set 'type': 'module' in package.json or rename file to .mjs).
Ensure eslint-plugin-jest@29.15.2 is installed exactly.
Use flat config eslint.config.js and import the module as shown in quickstart.