JSLint for Visual Studio 2010 is a handy extension which provides JavaScript code analysis using JSLint.
Here are some key features of "JSLint for Visual Studio 2010":
· Choice of JSlint (current), JSLint (old) and JSHint.
· Simple .vsix double-click installation. Also available on the Visual Studio Gallery website, and downloadable directly from within Visual Studio using Tools->Extension Manager.
· Configure from the Tools menu.
· Import/Export Options.
· Analyze JavaScript on Save
· Analyze all JavaScript files when building the project or solution (also supports analyzing HTML files containing JavaScript).
· Analyze selected JavaScript files from the Solution Explorer.
· Analyze a selected JavaScript snippet or the complete file while in the Code Editor window.
· Output as Errors, Warnings, Messages or Tasks.
· Skip validation of certain script files and folders when building (e.g. non-user code).
· Skip validation of a file section.
· Predefine JSLint global variables, per file or globally.
· CSS validation.
· Detection of constants (optional)
Requirements:
· Visual Studio 2010
What's New in This Release: [ read full changelog ]
· Guess whether the HTML is really javascript and use the selected linter in this case. Updated JSLint to latest.