Registry / testing / eslint-config-seekingalpha-typescript

eslint-config-seekingalpha-typescript

JSON →
library8.73.0jsnpmunverified

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-typescript
INSTALL
IMPORT
SIG · ESLINT-CONFIG-SEEK
E
eslint-config-seekingalpha-typescript
testingjavascriptv8.73.0
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
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 18–226 runs
build_error
glibc
node 18–226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

tsConfig
✓ import tsConfig from 'eslint-config-seekingalpha-typescript';
✗ const tsConfig = require('eslint-config-seekingalpha-typescript');
ESLint v9+ flat configs (eslint.config.js) are typically ESM modules, requiring 'import' syntax for the default export.

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, }, }, ];
Debug
Known issues
breakingThis package is designed for ESLint v9+ and uses the new flat configuration format (`eslint.config.js`). It is incompatible with legacy ESLint v8 and older `eslintrc` configurations.
fix
Migrate your ESLint setup to the flat config format as documented by ESLint (https://eslint.org/docs/latest/use/configure/configuration-files-new).
affects: >=8.0.0
breakingStrict Node.js engine requirement: This package, and its peer dependencies, require Node.js version 24 or newer.
fix
Upgrade your Node.js environment to version 24 or higher using a tool like nvm or by installing a newer Node.js distribution.
affects: >=8.0.0
breakingThis package has strict peer dependency versions for `eslint` (9.39.2) and `typescript-eslint` (8.58.2). Mismatched versions will likely lead to errors or unexpected behavior.
fix
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`.
affects: >=8.0.0
gotchaThe configuration is opinionated based on SeekingAlpha's internal standards. Users may need to override specific rules to fit their project's unique requirements.
fix
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] } }`.
affects: >=1.0.0
Errors
Common errors & fixes
Error: Cannot find module 'eslint-config-seekingalpha-typescript'
The package has not been installed or there's a typo in the import path.
fix
Run `npm install eslint-config-seekingalpha-typescript --save-dev` to install the package.
Error: Failed to load plugin '@typescript-eslint' declared in 'eslint-config-seekingalpha-typescript/index.js': Cannot find module '@typescript-eslint/eslint-plugin'
The `typescript-eslint` peer dependency is either missing or an incompatible version is installed.
fix
Install the correct version: `npm install typescript-eslint@8.58.2 --save-dev`.
Error: The current Node.js version (vX.Y.Z) does not satisfy the required version '>= 24'.
Your Node.js environment does not meet the minimum version requirement specified in the package's `engines` field.
fix
Upgrade your Node.js version to 24 or higher. Use `nvm install 24` and `nvm use 24` or similar version management tools.
Upgrade
Version history
8.73.0latest on npm
Audit
Dependencies
eslintrequiredRequired runtime for ESLint to execute and apply linting rules.
typescript-eslintrequiredProvides TypeScript-specific rules and parser necessary for linting TypeScript code.
Agent activity
4 hits · last 30 days
node
4
Resources
eslint-config-seekingalpha-typescript — npm install eslint-config-seekingalpha-typescript · libregistry