forked from DataDog/stickerlandia
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCodeAnalysis.props
More file actions
18 lines (17 loc) · 954 Bytes
/
Copy pathCodeAnalysis.props
File metadata and controls
18 lines (17 loc) · 954 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(MSBuildProjectExtension)' == '.csproj' ">
<EnableNETAnalyzers>true</EnableNETAnalyzers>
</PropertyGroup>
<ItemGroup Condition=" '$(MSBuildProjectExtension)' == '.csproj' ">
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0" />
</ItemGroup>
<PropertyGroup Condition=" '$(MSBuildProjectExtension)' == '.csproj' ">
<AnalysisMode>All</AnalysisMode>
<AnalysisLevel>9.0</AnalysisLevel>
<_SkipUpgradeNetAnalyzersNuGetWarning>false</_SkipUpgradeNetAnalyzersNuGetWarning>
<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors>
<!-- CA2007 is calling .ConfigureAwait(false), which isn't required for non-libraries -->
<NoWarn>$(NoWarn);CA2007;CA1016</NoWarn>
</PropertyGroup>
</Project>