qmetrics.net

typescript-eslint

ESLint tooling for linting TypeScript codebases

typescript-eslint screenshot

typescript-eslint connects ESLint to TypeScript syntax and ships parser services plus lint rules. It enables standard and type-aware linting for JavaScript and TypeScript projects.

Overview

typescript-eslint is a monorepo of packages that let ESLint and related tools understand TypeScript. The parser and companion services read TypeScript source so linters and formatters such as Prettier can analyze typed code, not only plain JavaScript.

The project provides a large rule set covering practices, likely bugs, and style in modern JavaScript and TypeScript. Typed linting uses TypeScript's type APIs for rules that inspect deeper semantics than syntax alone. Documentation and a playground are published on the project website.

Teams add the packages to an existing ESLint setup in Node projects. A Project Service approach is documented to simplify typed linting configuration on large codebases. The work is community-maintained with sponsor support from tooling vendors.

Because TypeScript adds typed syntax on top of JavaScript, generic ESLint cannot parse it without this stack; typescript-eslint fills that gap and extends lint coverage for TypeScript-specific issues.

Key features

  • TypeScript parser for ESLint
  • Parser services for other tools
  • Large standard rule catalog
  • Type-aware lint rules
  • Project Service configuration aid
  • Documentation and playground
  • Works with Prettier workflows
  • Monorepo of coordinated packages

Use cases

  • Linting TypeScript applications
  • Type-based bug detection in CI
  • Consistent TS style enforcement
  • Prettier plus ESLint integration
  • Shared rules across JS and TS

Tags

Similar software

ShellCheck

Static analysis and linting for Bash shell scripts

ShellCheck scans bash and POSIX shell scripts for syntax, semantic, and portability problems. It is available as a CLI tool, editor integration, web paste interface, and CI hook.

★ 40.4k⟳ todayGPL-3.0

Mypy

Optional static type checker for Python

Mypy checks Python programs against PEP 484 type hints before you run them. It supports gradual typing so you can add annotations over time.

★ 20.7k⟳ todayMIT · open core

React Doctor

CLI static analysis for React code quality

React Doctor scans React projects for correctness, performance, security, accessibility, and maintainability issues. Run it locally, in CI, or as an agent skill.

★ 15.2k⟳ 11 days agoMIT

Ajv

JSON Schema and JSON Type Definition validator for JavaScript

Ajv compiles JSON Schemas into validation functions for Node.js and browsers. It supports multiple JSON Schema drafts and JSON Type Definition (RFC 8927).

★ 14.9k⟳ 7 months agoMIT

Why Did You Render

React and React Native avoidable re-render diagnostics

Welldone Software’s library monkey-patches React in development to log when components render and why. It highlights redundant updates and works with React Native.

★ 12.5k⟳ 1 year agoMIT

SonarQube

Open-source code quality and security verification platform

SonarQube inspects code with static analysis for bugs, vulnerabilities, and maintainability issues. The Community Build is the free edition you can run yourself.

★ 11.2k⟳ yesterdayLGPL-3.0