Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Emacs flymake syntax-checker for javascript using jslint

tree: 3fbbb560ef

Fetching latest commit…

Cannot retrieve the latest commit at this time

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.


Something went wrong with that request. Please try again.