eslint-config-typescript is an opinionated, base set of recommended ESLint rules specifically designed for TypeScript projects. It bundles configurations for common scenarios, including React and Prettier integration. The current stable version is 3.0.0. Release cadence appears to be driven by dependency updates and feature additions, with major versions introducing breaking changes. Its key differentiator is providing a pre-configured, modular setup that simplifies ESLint adoption for TypeScript, reducing the boilerplate of manually configuring `@typescript-eslint/eslint-plugin` and `@typescript-eslint/parser` while offering extensions for popular tools like Prettier and React out-of-the-box. It requires ESLint 6.0.0 or higher for full functionality.
npm install eslint-config-typescriptVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates a complete ESLint configuration for a TypeScript/React project, integrating Prettier with custom settings and additional plugins like `filenames` and `jest`.
Ensure your project's `eslint` peer dependency is updated to `^6.0.0` or higher.
Review your ESLint configuration file when upgrading from v1 to v2. Specifically, if you were combining `prettier` and `react` manually, consider using the new `typescript/prettier-react` preset.
Always list `"typescript"` (and its sub-configs like `"typescript/react"`) as the last entry in your `.eslintrc` file's `extends` array.
Run `npm install --save-dev eslint-config-typescript @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint typescript`
Update your project's `typescript` package: `npm install --save-dev typescript@latest`.
Ensure your `.eslintrc` file explicitly includes `"parser": "@typescript-eslint/parser"` at the top level, or within specific `overrides`.