Disable stylecop for backend build on azure

Linting issues are picked up by the analyze task
This commit is contained in:
ta264
2020-08-06 21:42:03 +01:00
parent 07295cd7b2
commit 745fba3bf8
2 changed files with 4 additions and 1 deletions

View File

@@ -92,7 +92,7 @@
</ItemGroup>
<!-- Set up stylecop -->
<ItemGroup Condition="'$(ReadarrProject)'=='true'">
<ItemGroup Condition="'$(ReadarrProject)'=='true' and '$(EnableStylecop)'!='false'">
<!-- StyleCop analysis -->
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
<PrivateAssets>all</PrivateAssets>