Skip to main content


The tooling that enables ESLint and Prettier to support TypeScript.

What are ESLint and TypeScript, and how do they compare?


ESLint is an awesome linter for JavaScript code.

ESLint statically analyzes your code to quickly find problems. It allows creating a series of assertions called lint rules around what your code should look or behave like, as well as auto-fixer suggestions to improve your code for you, and loading in lint rules from shared plugins.


TypeScript is a strongly typed programming language that builds on JavaScript.

TypeScript adds additional syntax to JavaScript that allows you to declare the shapes of objects and functions in code. It provides a set of language services that allow for running powerful inferences and automations with that type information.

Why does this project exist?

typescript-eslint enables ESLint to run on TypeScript code. It brings in the best of both tools to help you write the best JavaScript or TypeScript code you possibly can.

ESLint and TypeScript represent code differently internally. ESLint's default JavaScript parser cannot natively read in TypeScript-specific syntax and its rules don't natively have access to TypeScript's type information.

  • allows ESLint to parse TypeScript syntax
  • creates a set of tools for ESLint rules to be able to use TypeScript's type information
  • provides a large list of lint rules that are specific to TypeScript and/or use that type information

Financial Contributors

The typescript-eslint project would not be possible without the generous support of our financial contributors.

Gold Supporters

  • GitBook logo
  • Sourcegraph logo
  • - n8n GmbH logo
  • Coinbase logo
  • Sentry logo
  • EY Doberman logo
  • Codiga logo
  • DeepSource logo
  • Future Processing logo
  • STORIS logo

Silver Supporters

  • Whitebox logo
  • Monito logo
  • tRPC logo
  • revo.js logo
  • Ian MacLeod logo
  • David Johnston logo
  • kartenmacherei logo
  • THANKS.DEV logo
  • Now4real logo
  • Joe Alden logo
  • Evil Martians logo
  • Balsa logo
  • THE PADDING logo
  • Corellium logo
  • Gianfranco Palumbo logo
  • The Guardian logo
  • Laserhub logo