eslint-config-seekingalpha-typescript provides a sharable ESLint configuration tailored for TypeScript projects, reflecting the code quality standards and conventions used internally by SeekingAlpha. Currently at version 8.73.0, this configuration package is actively maintained and updated to align with the latest versions of ESLint and `typescript-eslint`. Its primary function is to enforce a consistent and opinionated set of rules, including those specific to TypeScript, to enhance code quality and maintainability across projects. Key differentiators include its tight integration with `typescript-eslint` for robust TypeScript linting and its proven application in a large-scale production environment. Users should anticipate updates as major versions of its peer dependencies (ESLint and `typescript-eslint`) are released, ensuring compatibility and leveraging new features and rule enhancements.
npm install eslint-config-seekingalpha-typescriptVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to apply the SeekingAlpha TypeScript ESLint configuration in an `eslint.config.js` file.
Migrate your ESLint setup to the flat config format as documented by ESLint (https://eslint.org/docs/latest/use/configure/configuration-files-new).
Upgrade your Node.js environment to version 24 or higher using a tool like nvm or by installing a newer Node.js distribution.
Ensure you install the exact peer dependency versions specified in the package's `peerDependencies` section using `npm install eslint@9.39.2 typescript-eslint@8.58.2 --save-dev`.
To override rules, add them directly to the `rules` property in your `eslint.config.js` after spreading the `tsConfig.rules`. For example: `{ rules: { ...tsConfig.rules, 'indent': ['error', 2] } }`.Run `npm install eslint-config-seekingalpha-typescript --save-dev` to install the package.
Install the correct version: `npm install typescript-eslint@8.58.2 --save-dev`.
Upgrade your Node.js version to 24 or higher. Use `nvm install 24` and `nvm use 24` or similar version management tools.