Atom Packages Directory

a package directory for a text editor of the 21st Century

Linter Xo by Sindre Sorhus

Install with:
    apm install linter-xo

linter-xo Build Status

Linter for XO


$ apm install linter-xo

Or, Settings → Install → Search for linter-xo.


Just write some code.

Settings can be found in the Linter package settings. XO config should be defined in package.json.

Note that it will only lint when XO is a dependency/devDependency in package.json.
This is to ensure it doesn’t activate and conflict on projects using another linter, like ESLint.
We’re considering a way to manually enable XO.


Automagically fix many of the linter issues by running XO: Fix in the Command Palette.

Fix on save

You can also have it fix the code when you save the file. (Only when XO is used in the project)

Enable it by going to; Settings → Packages → linter-xo → Settings, and then checking Fix On Save.


MIT © Sindre Sorhus

Keywords: javascript, linter, eslint, code-style, xo Suggest keywords
Fork me on GitHub