An Emacs flymake handler for syntax-checking Javascript source code with linted with eslint
You may notice extreme similarity between this repo and a few of @purcell :)
If you choose not to use one of the convenient packages in
Melpa and Marmalade, you'll need to add the
directory containing flymake-eslint.el
to your load-path
, and then
(require 'flymake-eslint)
. You'll also need to install
flymake-easy.
Add the following to your emacs init file:
(require 'flymake-eslint)
(add-hook 'js-mode-hook 'flymake-eslint-load) ;; or js2-mode-hook, perhaps