You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the library. It's been working great except one thing. When the error amount exceeds default it fails the build with an error:
Total JSLint: error limit reached: 1001
Currently, I'd prefer not to fail the build at all. I'd like to show everything as warnings. I set "output": "Warning" in my JSLintNet.json and in my target I changed Error block to warning like so:
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Warning Condition="!Exists('..\..\packages\JSLintNet.MSBuild.2.3.0\build\JSLintNet.MSBuild.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\JSLintNet.MSBuild.2.3.0\build\JSLintNet.MSBuild.targets'))" />
</Target>
It still shows "Total JSLint: error limit reached" as an error. Is this a bug?
The text was updated successfully, but these errors were encountered:
Hi Ben,
Thank you for the library. It's been working great except one thing. When the error amount exceeds default it fails the build with an error:
Total JSLint: error limit reached: 1001
Currently, I'd prefer not to fail the build at all. I'd like to show everything as warnings. I set "output": "Warning" in my JSLintNet.json and in my target I changed Error block to warning like so:
It still shows "Total JSLint: error limit reached" as an error. Is this a bug?
The text was updated successfully, but these errors were encountered: