benquarmby / jslintnet

JSLint.NET is a wrapper for Douglas Crockford's JSLint, the JavaScript code quality tool. It can validate JavaScript anywhere .NET runs.
Apache License 2.0
77 stars 11 forks source link

JS Lint Build Errors #21

Closed Sumits669 closed 8 years ago

Sumits669 commented 8 years ago

Hi ,

I have configure jslint from nuget manager in my visual studio 2013 and plateform is Windows server 2008 R2. When I build solution then it shows an error while I converted all errors type into warnings and due to this error build is faild. Error is : "Build canclled due to JSlint validation errors". How can I resolve this so that i can see all errors only in warning, while all errors converted to warnings but still one error i got. Please suggest me how can i resolve this

benquarmby commented 8 years ago

Uncheck "Cancel build" in the project settings. If you're running both JSLint.NET for Visual Studio and JSLint.NET for MSBuild (from NuGet), you can also uncheck the "Run on build" checkbox.

image

I may remove both of these checkboxes in the future to save confusion. The MSBuild task always runs on build regardless of this setting.

benquarmby commented 8 years ago

I added issue #23 to track removing those settings.