Page 1 of 1

Javascript Lint and Zeus

Posted: Wed Feb 29, 2012 6:43 am
by jussij
1) Download and install the Windows version of JSLint from here: http://www.javascriptlint.com/download.htm

2) Use the Options, Document Types menu and edit the JScript document type to add the following tool.

Menu Text: JSLint '$f'
Executable: C:\Program Files\JavascriptLint\jsl.exe
Arguments: -conf "C:\Program Files\JavascriptLint\jsl.default.conf" -process "$fn"

Tick the run as hidden, capture standard output, capture standard error and save the current document options.

3) Open a Javascript file and then use the Tools menu created above to run the lint utility.

For more details on how to setup the jsl.default.conf config file go here: http://jslint.com/lint.html