XO – configurable ESLint wrapper

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
ESLintFind and fix problems in JavaScript code
BiomeToolchain for web projects
standardJavaScript style guide, linter, and formatter
FlowStatic type checker
OXCcTools for JavaScript and TypeScript
XOConfigurable ESLint wrapper
JSHintStatic code analysis tool
RSLintEasy to use JavaScript and TypeScript linter
JSLintJavaScript code quality and coverage tool
neostandardSuccessor to the standardjs javascript style guide
quick-lint-jsFinds bugs in JavaScript programs
PutoutJavaScript linter, pluggable and configurable code transformer

Read our verdict in the software roundup.


Best Free and Open Source Software 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.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted