How can I change jslint(VS 2010 extension) to ignore files?

Feb 23, 2011 at 5:14 PM

Hi

I have js lint installed in Vs 2010 as a extension through the extension manager.

It finds lots of errors but they are all from external plugins or from the jquery vs-doc . I am not going to go and fix stuff in an external plugin or jquery file. So how can I get it to not check these files?

I am also wondering how can I get it to ignore checking href links? I am using asp.net mvc so my links are like this

<a href="/account/reg">reg </a>

So it can't find this path as it is the path to the controller action method not a file. So how can I get it to not look at these?

Thanks

Coordinator
Apr 4, 2011 at 9:58 AM

You can tell it not to look at html files or you can skip particular files.

 

I'm afraid jslint (www.jslint.com) is mostly for javascript and it's support of html is probably a bit limited.

Apr 4, 2012 at 8:39 PM

@lukepage

I just grabbed this extension and am having a similar problem. It is linting all the jquery, jquery ui, and knockout scripts... i saw your documentation, right clicked on these scripts in Solution Explorer and selected "Skip on Build". No dice. Each rebuild they are still being reported and there are well over 1000 errors so I cant get a successful build.

Suggestions?