Using JSLint with Syntastic in Vim

Syntastic is looking for the jsl binary in your path. You can download jsl (command line js lint) from http://www.javascriptlint.com/download.htm

After it is installed I would restart vim and viola, it should work.

If you are on a mac, you can also do brew install jslint and it will install the jsl executable for you.


As noted by Adam the jsl binary is the easiest way to get things set up. I'd like to note, however, that you can also install a jslint in your path via npm (so long as you already have npm and node.js installed):

npm install -g jslint

The -g flag tells npm you want to install the package globally.