Find and fix problems in your JavaScript code

Find and fix problems
in your JavaScript code

ESLint statically analyzes your code to quickly find problems. It is built into most text editors and you can run ESLint as part of your continuous integration pipeline.

Latest Version
v8.18.0 on 17 Jun
Upcoming Version
v8.19.0 on 1 Jul
Development
HEAD on 1 Jul

The pluggable linting utility for JavaScript and JSX

ESLint is an open source project that helps you find and fix problems with your JavaScript code. It doesn't matter if you're writing JavaScript in the browser or on the server, with or without a framework, ESLint can help your code live its best life.

Find issues

ESLint statically analyzes your code to quickly find problems. ESLint is built into most text editors and you can run ESLint as part of your continuous integration pipeline.

Learn more about finding issues with ESLint

Configure everything

Preprocess code, use custom parsers, and write your own rules that work alongside ESLint's built-in rules. Customize ESLint to work exactly the way you need it for your project.

Learn more about configuring ESLint
Screenshot of a Visual Studio code window with ESLint in action: underlining ESLint error in the editor.

News and Updates

The latest ESLint news, case studies, tutorials, and resources.

ESLint v8.19.0 released
1 min read

ESLint v8.19.0 released

We just pushed ESLint v8.19.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.

ESLint v8.18.0 released
1 min read

ESLint v8.18.0 released

We just pushed ESLint v8.18.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.

ESLint v8.17.0 released
1 min read

ESLint v8.17.0 released

We just pushed ESLint v8.17.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.

Welcome to the community

ESLint is the #1 JavaScript linter by downloads on npm (over 25.4M downloads / week) and is used at companies like Microsoft, Airbnb, Netflix, and Facebook.

8.7M Dependents
25.4M Weekly Downloads
20.8K Stars

Sponsored by fantastic people

We receive $112,020.00 / year in donations from 184 sponsors.

Recent One-time Donations

  • Wix Engineering

    June 30, 2022

    + $466.00
  • Charlie Calvert

    June 25, 2022

    + $20.00
  • Cybozu, Inc.

    June 22, 2022

    + $1,265.00
  • Charlie Calvert

    April 13, 2022

    + $5.00
  • Samuel Pitoňák

    March 29, 2022

    + $5.00
  • supfiger

    March 25, 2022

    + $20.00

testimonials

ESLint has been critical in helping developers write high-quality JavaScript for years. We love that it catches common issues early and often. With a high level of extensibility, ESLint's ability to let teams enforce custom rules that work for them has been excellent for open-source projects and more. Chrome is happy to sponsor ESLint to help web developers write consistently high-quality code. It's an essential piece of the modern web development toolkit.

Addy Osmani
Addy Osmani Senior Staff Eng. Manager, Chrome
Addy Osmani

Nx uses ESLint to enforce code quality, library boundaries, and project visibility constraints. ESLint makes Nx more powerful, so on behalf of the Nx.dev community, we're proud to do our part and sponsor ESLint's continued success!

Jeff Cross
Jeff Cross Co-founder and Principal Architect, Nx
Jeff Cross

ESLint is an extremely useful tool for any JavaScript project. This tool allows us to set up consistent code formatting rules adopted by the whole team from the beginning of the project, greatly facilitates code reviews, and makes it easy to integrate new developers into the team. I know I am not alone in appreciating its flexibility and ease-of-use.

Médédé Raymond KPATCHAA
Médédé Raymond KPATCHAA Technical Architect, Salesforce
Médédé Raymond KPATCHAA

Most JavaScript projects directly or transitively depend on ESLint. An Indeed employee nominated ESLint to receive a donation from the FOSS Contributor Fund, and their colleagues clearly agreed. We're happy to support the open source technologies that allow us to develop, protect, and maintain the digital infrastructure that supports our products and helps people get jobs.

Duane O'Brien
Duane O'Brien Head of Open Source, Indeed
Duane O'Brien

ESLint plays a major role in helping us create a safe and consistent experience across a growing number of codebases and engineers. We are grateful for all the open-source projects that are helping us build Contra, and ESLint is the first of many open-source projects that we are committed to back.

Gajus Kuizinas
Gajus Kuizinas Co-Founder / CTO, Contra
Gajus Kuizinas