Javascript Lint and Zeus

Find Tips and tricks on how to better use the Zeus IDE. Feel free to post your own tips but please do not post bug reports, feature requests or questions here.
Post Reply
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Javascript Lint and Zeus

Post 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
Post Reply