Enable all analyzers and enforce code style on build
This commit is contained in:
parent
21045127cd
commit
b4d8f0c311
|
@ -167,6 +167,7 @@ dotnet_diagnostic.CA1309.severity = suggestion
|
||||||
dotnet_diagnostic.CA1310.severity = suggestion
|
dotnet_diagnostic.CA1310.severity = suggestion
|
||||||
dotnet_diagnostic.CA1401.severity = suggestion
|
dotnet_diagnostic.CA1401.severity = suggestion
|
||||||
dotnet_diagnostic.CA1416.severity = suggestion
|
dotnet_diagnostic.CA1416.severity = suggestion
|
||||||
|
dotnet_diagnostic.CA1419.severity = suggestion
|
||||||
dotnet_diagnostic.CA1507.severity = suggestion
|
dotnet_diagnostic.CA1507.severity = suggestion
|
||||||
dotnet_diagnostic.CA1508.severity = suggestion
|
dotnet_diagnostic.CA1508.severity = suggestion
|
||||||
dotnet_diagnostic.CA1707.severity = suggestion
|
dotnet_diagnostic.CA1707.severity = suggestion
|
||||||
|
@ -193,9 +194,20 @@ dotnet_diagnostic.CA1814.severity = suggestion
|
||||||
dotnet_diagnostic.CA1815.severity = suggestion
|
dotnet_diagnostic.CA1815.severity = suggestion
|
||||||
dotnet_diagnostic.CA1816.severity = suggestion
|
dotnet_diagnostic.CA1816.severity = suggestion
|
||||||
dotnet_diagnostic.CA1819.severity = suggestion
|
dotnet_diagnostic.CA1819.severity = suggestion
|
||||||
|
dotnet_diagnostic.CA1820.severity = suggestion
|
||||||
dotnet_diagnostic.CA1822.severity = suggestion
|
dotnet_diagnostic.CA1822.severity = suggestion
|
||||||
dotnet_diagnostic.CA1823.severity = suggestion
|
dotnet_diagnostic.CA1823.severity = suggestion
|
||||||
dotnet_diagnostic.CA1824.severity = suggestion
|
dotnet_diagnostic.CA1824.severity = suggestion
|
||||||
|
dotnet_diagnostic.CA1825.severity = suggestion
|
||||||
|
dotnet_diagnostic.CA1826.severity = suggestion
|
||||||
|
dotnet_diagnostic.CA1827.severity = suggestion
|
||||||
|
dotnet_diagnostic.CA1829.severity = suggestion
|
||||||
|
dotnet_diagnostic.CA1834.severity = suggestion
|
||||||
|
dotnet_diagnostic.CA1839.severity = suggestion
|
||||||
|
dotnet_diagnostic.CA1840.severity = suggestion
|
||||||
|
dotnet_diagnostic.CA1845.severity = suggestion
|
||||||
|
dotnet_diagnostic.CA1846.severity = suggestion
|
||||||
|
dotnet_diagnostic.CA1847.severity = suggestion
|
||||||
dotnet_diagnostic.CA2000.severity = suggestion
|
dotnet_diagnostic.CA2000.severity = suggestion
|
||||||
dotnet_diagnostic.CA2002.severity = suggestion
|
dotnet_diagnostic.CA2002.severity = suggestion
|
||||||
dotnet_diagnostic.CA2007.severity = suggestion
|
dotnet_diagnostic.CA2007.severity = suggestion
|
||||||
|
@ -233,6 +245,8 @@ dotnet_diagnostic.CA2243.severity = suggestion
|
||||||
dotnet_diagnostic.CA2244.severity = suggestion
|
dotnet_diagnostic.CA2244.severity = suggestion
|
||||||
dotnet_diagnostic.CA2245.severity = suggestion
|
dotnet_diagnostic.CA2245.severity = suggestion
|
||||||
dotnet_diagnostic.CA2246.severity = suggestion
|
dotnet_diagnostic.CA2246.severity = suggestion
|
||||||
|
dotnet_diagnostic.CA2249.severity = suggestion
|
||||||
|
dotnet_diagnostic.CA2251.severity = suggestion
|
||||||
dotnet_diagnostic.CA3061.severity = suggestion
|
dotnet_diagnostic.CA3061.severity = suggestion
|
||||||
dotnet_diagnostic.CA3075.severity = suggestion
|
dotnet_diagnostic.CA3075.severity = suggestion
|
||||||
dotnet_diagnostic.CA3076.severity = suggestion
|
dotnet_diagnostic.CA3076.severity = suggestion
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
<Project>
|
<Project>
|
||||||
<!-- Common to all Sonarr Projects -->
|
<!-- Common to all Sonarr Projects -->
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
<AnalysisLevel>6.0-all</AnalysisLevel>
|
||||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||||
|
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
|
||||||
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
|
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
|
||||||
|
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
|
Loading…
Reference in New Issue