Update: 2011-05-13: JSLint WSH no longer available, see JSHint WSH.
Ever wish that Visual Studio had a JSLint add-in? Inspired by a reply to my tweet, I discovered the following solution.
Grab the WSH version of JSLint.
Add this jslint.bat file to the same folder you have JSLint in:
cscript jslint.js //Nologo < %1
In Visual Studio → Tools → External Tools…
Add a new tool with the following field values:
Open up any *.js file you'd like to validate
Select the all new JSLint from your tools menu:
Try not to let JSLint hurt your feelings too much:
In short, JSLint is awesome.
newtelligence dasBlog 2.2.8279.16125
© Copyright 2014, Travis Hardiman
The opinions expressed herein are my own personal opinions and do not represent my employer's, my neighbors', my friends', or my family's view, in any way, shape, or form.