Emacs library providing simple flymake for JavaScript using JSHint through node-jshint.
Inspired by:
- https://github.com/daleharvey/jshint-mode
- http://www.emacswiki.org/emacs/FlymakeJavaScript
- http://lapin-bleu.net/riviera/?p=191
- node-jshint
Install with npm: npm install -g jshint
.
(require 'flymake-node-jshint)
(setq flymake-node-jshint-config "~/.jshintrc-node.json") ; optional
(add-hook 'js-mode-hook (lambda () (flymake-mode 1)))