typescript-eslint

Open Source

by typescript-eslint

Provided by typescript-eslint

Not yet rated
Platform
Web
Pricing
Open Source
Account required
No
Ads
None
Last verified
23 hours ago
Developer
typescript-eslint
Official URL

Overview

typescript-eslint is the project that lets ESLint, the standard JavaScript linter, understand TypeScript. On its own ESLint cannot read TypeScript syntax; this project supplies the parser and supporting services that make it possible, and the same parsing work is what lets tools such as Prettier read TypeScript code.

On top of the parser it ships more than 100 lint rules covering best practices, likely bugs and consistent style. Some of them use "typed linting", meaning they ask TypeScript for type information and can catch problems that syntax-only rules cannot. Ready-made rule sets called recommended, strict and stylistic let you pick how opinionated the setup should be.

Setup means installing the typescript-eslint package from npm alongside ESLint and TypeScript, then adding it to an ESLint flat config file. The website also has a playground for trying rules in the browser. The project is MIT licensed and funded by sponsors through Open Collective.

Features

  • Parser that lets ESLint read TypeScript code
  • More than 100 rules for bugs, best practices and style
  • Typed linting rules that use TypeScript's type information
  • Shared configs: recommended, strict and stylistic
  • Works with ESLint's flat config format
  • Online playground for testing rules and settings
  • Installable with npm, Yarn, pnpm or Bun

Privacy

See the official privacy policy. The linter runs locally in your project and needs no account.

Pros & Cons

Pros

  • Free and open source under the MIT licence
  • Typed rules catch mistakes that plain syntax checks miss
  • Preset configs give a sensible starting point
  • Playground lets you try rules without a local setup

Cons

  • Not a standalone tool: it needs ESLint and TypeScript installed
  • Typed linting needs extra configuration
  • The getting-started guide targets flat config; older ESLint setups follow a separate legacy guide

Community Reviews (0)

No written reviews yet — be the first to rate this tool.

Similar Tools

  • TypeScript · TypeScript

    Adds static types to JavaScript.

    Not yet rated
    Open Source Web
  • Provides type definitions for thousands of JavaScript packages.

    Not yet rated
    Open Source Web
  • TypeScript · ts-node

    Runs TypeScript files directly in Node.js.

    Not yet rated
    Open Source Web