Thursday, June 30, 2011

Exclude files from the JSLint validation process

JSLint is a must have tool for every web developer. It’s a JavaScript program that looks for problems in your JavaScript code.

JSLint uses a professional subset of JavaScript, a stricter language than that defined by Third Edition of the ECMAScript Programming Language Standard. The subset is related to recommendations found in Code Conventions for the JavaScript Programming Language.

The first time I ran it on my brand new ASP.NET MVC application, I was confronted with a lot of errors, most of them related to external plugins and the jquery library. As I am not planning to fix stuff in jquery, I needed a way to tell JSLint to ignore some files.

Turns out that this is really easy:


1 comment:

digital signatures said...

As your blog's title you make it so simple for web developers to learn every step.Along with the matter after viewing example there would be no query in anybodies mind.
digital signatures