ESLint v8.x reached end-of-life on 2024-10-05 and is no longer maintained. Upgrade or consider long-term support options
Versions

Use ESLint in Your Project

This guide is intended for those who wish to use ESLint as an end-user. If you’re looking for how to extend ESLint or work with the ESLint source code, please see the Extend ESLint documentation.

Getting Started

Want to skip ahead and just start using ESLint? This section gives a high-level overview of installation, setup, and configuration options.

Core Concepts

Understand the main components of ESLint and how to use them in your project.

Configure ESLint

Once you’ve got ESLint running, you’ll probably want to adjust the configuration to better suit your project. This section explains all the different ways you can configure ESLint.

Command Line Interface Reference

There are a lot of command line flags for ESLint and this section explains what they do.

Rules Reference

ESLint has a lot of rules that you can configure to fine-tune it to your project. This section is an exhaustive list of every rule and link to each rule’s documentation.

Formatters Reference

Control the appearance of the linting results with formatters. View all built-in formatters on this page.

Integrations

Wondering if ESLint will work with your favorite editor or build system? This page has a list of integrations (submitted by their authors).

Rule Deprecation

The ESLint team is committed to making upgrading as easy and painless as possible. This section outlines the guidelines the team has set in place for the deprecation of rules in future releases.

Migrating

If you were using a prior version of ESLint, you can get help with the transition by reading:

Change Language