SeekingAlpha TypeScript ESLint Config

8.73.0 · active · verified Sun Apr 19

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.

Common errors

Warnings

Install

Imports

Quickstart

This quickstart demonstrates how to apply the SeekingAlpha TypeScript ESLint configuration in an `eslint.config.js` file.

import tsConfig from 'eslint-config-seekingalpha-typescript';

export default [
  {
    plugins: {
      ...tsConfig.plugins,
    },
    rules: {
      ...tsConfig.rules,
    },
    settings: {
      ...tsConfig.settings,
    },
  },
];

view raw JSON →