ESLint is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code.
In many ways, it is similar to JSLint and JSHint with a few exceptions:
- ESLint uses Espree for JavaScript parsing.
- ESLint uses an AST to evaluate patterns in code.
- ESLint is completely pluggable, every single rule is a plugin and you can add more at runtime.
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.
This is free and open source software.
Key Features
- Find issues – 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.
- Fix problems automatically – many problems ESLint finds can be automatically fixed. ESLint fixes are syntax-aware so you won’t experience errors introduced by traditional find-and-replace algorithms.
- Configure – 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.
Website: github.com/eslint/eslint
Support:
Developer: OpenJS Foundation and other contributors
License: MIT License
ESLint is written in JavaScript. Learn JavaScript with our recommended free books and free tutorials.
Related Software
| JavaScript Linter Tools | |
|---|---|
| ESLint | Find and fix problems in JavaScript code |
| Biome | Toolchain for web projects |
| standard | JavaScript style guide, linter, and formatter |
| Flow | Static type checker |
| OXCc | Tools for JavaScript and TypeScript |
| XO | Configurable ESLint wrapper |
| JSHint | Static code analysis tool |
| RSLint | Easy to use JavaScript and TypeScript linter |
| JSLint | JavaScript code quality and coverage tool |
| neostandard | Successor to the standardjs javascript style guide |
| quick-lint-js | Finds bugs in JavaScript programs |
| Putout | JavaScript linter, pluggable and configurable code transformer |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

