Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

sindresorhus/atom-linter-xo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

aa39515 · May 17, 2021
May 16, 2021
May 17, 2021
May 17, 2021
May 15, 2021
Feb 13, 2018
Oct 11, 2016
May 16, 2021
Feb 13, 2018
May 16, 2021
Feb 13, 2018
May 17, 2021
Jan 24, 2021
Aug 1, 2015

Repository files navigation

linter-xo

Linter for XO

Install

$ apm install linter-xo

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

Usage

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.

Fix

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.