Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (26 sloc) 1.31 KB

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

Something went wrong with that request. Please try again.