I went to add JSLint to my Visual Studio tools and was disappointed that the WSH version has disappeared (or was discontinued). Luckily the new and improved JSHint supports a WSH wrapper.
In Visual Studio → Tools → External Tools…
Add a new tool with the following field values:
- //Nologo "%YourJSHintPath%\env\wsh.js" $(ItemPath)
- Initial directory:
- Use Output window
Open up any *.js file you'd like to validate
Select the all new JSHint from your tools menu:
The output that JSHint provides appears to be much more useful than the old JSLint version as well.