NetAnalyzers and StyleCop centralized (#19476)

* NetAnalyzers and StyleCop centralized

* removed code analysis from devdocs
This commit is contained in:
Davide Giacometti
2022-07-19 22:40:40 +02:00
committed by GitHub
parent f519a88ee0
commit 28751d2d36
71 changed files with 24 additions and 1164 deletions

View File

@@ -38,9 +38,6 @@
<AssemblyName>PowerToys.FancyZonesEditor</AssemblyName>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\..\..\..\codeAnalysis\GlobalSuppressions.cs" Link="GlobalSuppressions.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
@@ -48,21 +45,9 @@
</EmbeddedResource>
<None Include="app.manifest" />
</ItemGroup>
<ItemGroup>
<AdditionalFiles Include="..\..\..\..\codeAnalysis\StyleCop.json">
<Link>StyleCop.json</Link>
</AdditionalFiles>
</ItemGroup>
<ItemGroup>
<PackageReference Include="ModernWpfUI" Version="0.9.4" />
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="System.IO.Abstractions" Version="12.2.5" />
<PackageReference Include="System.Text.Json" Version="6.0.2" />
</ItemGroup>