typescript-eslint
Powerful static analysis for JavaScript and TypeScript.
typescript-eslint enables ESLint, Prettier, and more to support TypeScript code.
Language Support ⚙️
Standard Rules 🧠
Typed Linting ⚡️
ESLint is a linter. It runs a set of rules to find likely problems and suggested fixes to improve your code.
TypeScript is a language and a type checker. The language adds syntax for types to JavaScript.
The type checker analyzes code to find mismatches between uses of values and types.
typescript-eslint is necessary for JavaScript tools such as ESLint to work with TypeScript's new syntax.
It also adds lint rules for TypeScript, including many that use the power of types to better analyze code.
Recent Blog Posts
Typed Linting with Project Service
How typescript-eslint's new "Project Service" makes typed linting easier to configure, especially for large projects.
·7 minute readAvoiding
any
s with Linting and TypeScriptHow typescript-eslint expands on TypeScript's type safety to catch explicit and implicit
any
s.·9 minute readTyped Linting: The Most Powerful TypeScript Linting Ever
Explaining what linting with type information means, why it's so powerful, and some of the useful rules you can enable that use it.
·8 minute read
Financial Contributors
The typescript-eslint project would not be possible without the generous support of our financial contributors.
Platinum Sponsors
Financial sponsors allow us to keep development of typescript-eslint going, including maintaining and improving the project, providing support to users, and pushing web ecosystem static analysis forward with advances in typed linting.