talira

Find and fix problems in your JavaScript code.

open sourceMITself-hostablefree

ESLint is the pluggable linter for JavaScript and TypeScript: it parses code into an AST and runs rules over it to report and often automatically fix problems, from likely bugs to style. Every rule is a plugin, so frameworks, TypeScript (through typescript-eslint) and companies add their own, and configuration lives in a flat config file. It runs in editors, pre-commit hooks and CI. ESLint is an OpenJS Foundation project funded by sponsors through Open Collective, MIT licensed.

Ways to install

Problems it solves

  • catch bugs like unused variables and missing awaits in JavaScript before code review
  • enforce our team's JavaScript conventions automatically
  • our React code keeps breaking the rules of hooks
  • lint TypeScript code in CI
  • write a custom rule that bans a deprecated internal API
  • auto-fix lint problems across the whole codebase

Features

  • pluggable rules
  • auto-fix
  • flat config
  • custom parsers
  • editor integrations

Capabilities

Has a command line toolplan not known
Takes pluginsplan not known
Has official SDKsplan not known

Alternatives

The same job

These do what ESLint does.

  1. Biome One fast toolchain that formats and lints JavaScript, TypeScript, JSON, CSS, HTML, GraphQL, YAML and Markdown.
  2. Oxc The JavaScript Oxidation Compiler: high-performance JavaScript and TypeScript tools in Rust
  3. TFLint A Pluggable Terraform Linter

Compare ESLint with the top 3