Integrate XO with flycheck to automatically check the style of your JavaScript code on the fly.
The preferred way to install flycheck-xo
is via
MELPA - then you can just M-x package-install RET
flycheck-xo RET
To enable then simply add the following to your init file:
(with-eval-after-load 'flycheck
(require 'flycheck-xo)
(flycheck-xo-setup))
If you would like to install the package manually, download or clone it and
place within Emacs' load-path
, then you can require it in your init file like
this:
(require 'flycheck-xo)
(flycheck-xo-setup)
NOTE: This will also require the manual installation of flycheck
if you have
not done so already.
Copyright © 2017 Alex Murray
Distributed under GNU GPL, version 3.