XO is an opinionated but configurable ESLint wrapper with lots of goodies included. It enforces strict and readable code. Never discuss code style on a pull request again! No decision-making. No eslint.config.js to manage. It just works!
It uses ESLint underneath.
This is free and open source software.
Key Features
- Beautiful output.
- Zero-config, but configurable when needed.
- Enforces readable code, because you read more code than you write.
- No need to specify file paths to lint as it lints all JS/TS files except for commonly ignored paths.
- Flat config customization.
- TypeScript supported by default.
- Includes many useful ESLint plugins, like unicorn, import, ava, n and more.
- Caches results between runs for much better performance.
- Super simple to add XO to a project with $ npm init xo.
- Fix many issues automagically with $ xo –fix.
- Open all files with errors at the correct line in your editor with $ xo –open.
- Specify indent and semicolon preferences easily without messing with the rule config.
- Optionally use the Prettier code style or turn off all Prettier rules with the compat option.
- Optionally use eslint-config-xo-react for easy JSX and React linting with zero config.
- Optionally use with ESLint directly
- Great editor plugins.
Website: github.com/xojs/xo
Support:
Developer: Sindre Sorhus
License: MIT License
XO is written in TypeScript. Learn TypeScript 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. |

