Emacs flymake syntax-checker for javascript using jslint
Emacs Lisp
Latest commit 68ca28a Oct 23, 2014 @purcell Update MELPA URLs
Permalink
Failed to load latest commit information.
.gitignore Remove and ignore .elc Nov 4, 2012
README.md Update MELPA URLs Oct 23, 2014
flymake-jslint.el Fix name of provided feature (closes #1) Jun 13, 2013

README.md

flymake-jslint.el

An Emacs flymake handler for syntax-checking Javascript source code using jslint or jsl.

Installation

If you choose not to use one of the convenient packages in Melpa and Marmalade, you'll need to add the directory containing flymake-jslint.el to your load-path, and then (require 'flymake-jslint). You'll also need to install flymake-easy.

Usage

Add the following to your emacs init file:

(require 'flymake-jslint) ;; Not necessary if using ELPA package
(add-hook 'js-mode-hook 'flymake-jslint-load)

The default checker is jsl, if that executable is found at load-time. Otherwise, jslint is the default. If you want to use the non-default checker, you can customize the values of flymake-jslint-command and flymake-jslint-args accordingly.


Steve Purcell's blog // @sanityinc on Twitter