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 |
| Sherif | Checks monorepo dependency consistency |
| RSLint | Easy to use JavaScript and TypeScript linter |
| JSLint | JavaScript code quality and coverage tool |
| neostandard | Successor to the standardjs javascript style guide |
| deno_lint | Rust crate for building fast JavaScript and TypeScript linters |
| quick-lint-js | Finds bugs in JavaScript programs |
| Putout | JavaScript linter, pluggable and configurable code transformer |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.