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.41.0 on 19 May
Upcoming Version
v8.42.0 on 2 Jun
Development
HEAD on 31 May

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.41.0 released
1 min read

ESLint v8.41.0 released

We just pushed ESLint v8.41.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.40.0 released
1 min read

ESLint v8.40.0 released

We just pushed ESLint v8.40.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.39.0 released
1 min read

ESLint v8.39.0 released

We just pushed ESLint v8.39.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 30.5M downloads / week) and is used at companies like Microsoft, Airbnb, Netflix, and Facebook.

13.5M Dependents
30.5M Weekly Downloads
22.8K Stars

Sponsored by fantastic people

We receive $127,116.00 / year in donations from 162 sponsors.

Recent One-time Donations

  • Daniel O'Connor

    April 17, 2023

    + $1.00
  • TheNextWe

    April 4, 2023

    + $50.00
  • Sami Mäkinen

    April 3, 2023

    + $15.00
  • Indeed

    March 23, 2023

    + $10,000.00
  • DLTx Pty Ltd

    March 9, 2023

    + $20.00
  • Sayz Lim

    February 17, 2023

    + $5.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