Skip to content

typescript-eslint

Tools that let ESLint check TypeScript code, as a monorepo of packages.

Stars
16.5k
Forks
3.1k
Licence
MIT
Language
TypeScript
Last update
5 days ago
Type
Dev tool

What it is

typescript-eslint is a set of packages that let ESLint, a popular linter for JavaScript, understand and check TypeScript code. It provides a parser, plugin rules, and shared configuration so teams can catch problems and enforce style in TypeScript projects. The README describes it as static analysis, meaning code is checked without being run.

  • Lint TypeScript source files in a project with ESLint
  • Enable TypeScript-aware rules in an existing ESLint configuration
  • Parse TypeScript into a syntax tree for custom ESLint rules (via the typescript-estree package)

Great for

  • JavaScript and TypeScript developers who already use ESLint
  • Teams that want consistent code checks across a TypeScript codebase
  • Projects that want TypeScript-aware lint rules

Not ideal for

  • Projects that do not use TypeScript or ESLint, since the tools only extend ESLint
  • Users looking for a standalone app with a graphical interface, since this is a set of developer packages
Step-by-step guide: how to use typescript-eslintInstall, first run, examples, tips and FAQs

How to get it

  1. 1

    Install with a package manager

    You'll need: Node.js · ESLint · TypeScript

    Clone the repository

    git clone https://github.com/typescript-eslint/typescript-eslint
  2. 2

    Run it

    • Read the setup guide at typescript-eslint.io
    • Install the typescript-eslint packages in your project with your package manager
    • Add the recommended configuration to your ESLint config
    • Run ESLint on your TypeScript files
  3. 3

    Get the most out of it

    • Use the typed linting rules if your project has a TypeScript configuration file, as described in the documentation
    • Check the canary documentation if you want features not yet in the latest release

Downloads

Strengths

  • Brings ESLint's rule system to TypeScript code
  • Is an active project with frequent releases and an MIT license
  • Has official documentation on a dedicated website

Trade-offs

  • Setup depends on matching versions of ESLint and TypeScript, which the README does not detail here
  • Documentation is split between the latest release and a canary version

How it compares

ProjectStarsTypeLevelUpdatedBest for
typescript-eslint (this)16.5kDev toolintermediate5 days agoJavaScript and TypeScript developers who already use ESLint
eslint27.6kDev toolintermediate4 days agoJavaScript developers who want automatic checks on their code
oxc23.3kDev toolbeginner4 days agoDevelopers who want to lint a JavaScript or TypeScript project quickly
standard29.4kDev toolbeginner1.3 years agoJavaScript projects where the team wants consistent style without debating rules
lint-staged14.8kDev toolintermediate5 days agoJavaScript or Node.js projects that already use tools like ESLint or Prettier
electron-react-boilerplate24.3kDev toolintermediate7 days agoDevelopers who know React and want to build a cross-platform desktop app

Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.