Click here to Skip to main content
15,885,546 members
Articles / Programming Languages / Javascript

JSLint.VS - JavaScript Verifier for Visual Studio

Rate me:
Please Sign up or sign in to vote.
4.88/5 (29 votes)
9 Nov 2009CPOL5 min read 193.8K   964   82  
A Visual Studio add-in that uses JSLint to verify JavaScript files that are part of a solution.
<?xml version="1.0" encoding="utf-8" ?>
<!--List of JSLint.VS options-->
<options recommended="eqeqeq, nomen, undef, white" goodparts="bitwise, eqeqeq, nomen, plusplus, undef, white">
	<option id="passfail" name="Stop on first error" />
	<option id="white" name="Strict whitespace" />
	<option id="browser" name="Assume a browser" />
	<option id="widget" name="Assume a Yahoo Widget" />
	<option id="rhino" name="Assume Rhino" />

	<option id="debug" name="Tolerate debugger statements" />
	<option id="evil" name="Tolerate eval" />
	<option id="cap" name="Tolerate HTML case" />
	<option id="on" name="Tolerate HTML event handlers" />
	<option id="fragment" name="Tolerate HTML fragments" />
	<option id="laxbreak" name="Tolerate sloppy line breaking" />
	<option id="forin" name="Tolerate unfiltered for in" />

	<option id="undef" name="Disallow undefined variables" />
	<option id="nomen" name="Disallow leading _ in identifiers" />
	<option id="eqeqeq" name="Disallow == and !=" />
	<option id="plusplus" name="Disallow ++ and --" />
	<option id="bitwise" name="Disallow bitwise operators" />
	<option id="adsafe" name="ADsafe" />
</options>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Chief Technology Officer
United States United States
If you liked this article, consider reading other articles by me. For republishing article on other websites, please contact me by leaving a comment.

Comments and Discussions