Update Microsoft.CodeAnalysis.NetAnalyzers
(#15812)
This commit is contained in:
parent
a4181ab57e
commit
40b2ad59cf
@ -506,6 +506,10 @@ dotnet_diagnostic.CA1845.severity = warning
|
||||
# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1846
|
||||
dotnet_diagnostic.CA1846.severity = warning
|
||||
|
||||
# CA1847: Use char literal for a single character lookup
|
||||
# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1847
|
||||
dotnet_diagnostic.CA1847.severity = warning
|
||||
|
||||
# CA2000: Dispose objects before losing scope
|
||||
# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000
|
||||
dotnet_diagnostic.CA2000.severity = none
|
||||
@ -704,6 +708,10 @@ dotnet_diagnostic.CA2250.severity = warning
|
||||
# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2251
|
||||
dotnet_diagnostic.CA2251.severity = warning
|
||||
|
||||
# CA2252: This API requires opting into preview features
|
||||
# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2252
|
||||
dotnet_diagnostic.CA2251.severity = none
|
||||
|
||||
# CA2300: Do not use insecure deserializer BinaryFormatter
|
||||
# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2300
|
||||
dotnet_diagnostic.CA2300.severity = none
|
||||
|
@ -1,6 +1,7 @@
|
||||
<Project>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="DotNetAnalyzers.DocumentationAnalyzers" Version="1.0.0-beta.59" PrivateAssets="all" />
|
||||
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.312" PrivateAssets="all" />
|
||||
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0-rc1.21366.2" PrivateAssets="all" />
|
||||
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.354" PrivateAssets="all" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
Loading…
Reference in New Issue
Block a user