Search

Search tools, categories and pages, or ask the assistant.

ESLint

eslint.org

Pluggable JavaScript linter for finding problems and enforcing code quality rules.

Overview

ESLint is an open-source JavaScript linter that statically analyzes your code to quickly identify and fix problems. It's built into most text editors and integrates seamlessly into continuous integration pipelines, supporting both browser and server-side JavaScript with or without frameworks.

The tool is highly extensible, allowing you to preprocess code, use custom parsers, and write custom rules that work alongside built-in rules. Many problems ESLint finds can be automatically fixed with syntax-aware replacements that avoid errors from traditional find-and-replace approaches.

ESLint is the #1 JavaScript linter by downloads on npm (over 155 million downloads per week) and is used by major companies including Microsoft, Airbnb, Netflix, and Facebook.

Key features

  • Static code analysis
  • Automatic problem fixing
  • Fully configurable rules
  • Custom parser support
  • Plugin system
  • Built-in text editor integration
  • CLI and Node.js API
  • Flat config format
Pros
  • Highly extensible with custom rules and plugins
  • Syntax-aware automatic fixes prevent errors
  • Widely adopted with strong community support
  • Works with any JavaScript environment
  • Excellent documentation and learning resources
  • Free and open source
Cons
  • Requires configuration setup for optimal use
  • Learning curve for advanced customization
  • Performance can be impacted on very large codebases
Use this if
You need to enforce consistent JavaScript code quality across your team, catch bugs early in development, or automate code style enforcement in your CI/CD pipeline.
Skip this if
You're working with non-JavaScript languages or prefer minimal tooling overhead without configuration.

Best for

JavaScript code quality enforcementCatching common coding issues earlyEnforcing team code standardsAutomated code fixingCustom rule creation for project-specific needsCI/CD pipeline integration

Alternatives

PrettierJSHintJSLintStandardJSBiome

Compare ESLint alternatives

More Devtool

Compare all
View Linear
LinearFeatured

Issue tracking built for speed, with a keyboard-first interface.

View PocketBase
PocketBaseFeatured

Open-source backend in a single file: database, auth, file storage, and admin UI.

View Mirrors
Mirrors

Regression testing platform that replays real agent sessions to catch mistakes before production.

View Social Fetch
Social Fetch

A unified REST API that returns live, structured data (profiles, posts, transcripts, metrics) from 23 social and web platforms.