chore(analyzers): sets some default
This commit is contained in:
@@ -284,3 +284,10 @@ resharper_local_function_body = expression_body
|
|||||||
|
|
||||||
# CS9236: Compiling requires binding the lambda expression at least 100 times
|
# CS9236: Compiling requires binding the lambda expression at least 100 times
|
||||||
dotnet_diagnostic.CS9236.severity = error
|
dotnet_diagnostic.CS9236.severity = error
|
||||||
|
|
||||||
|
# Turn off CA1848 for now (for improved performance, use LoggerMessage delegate)
|
||||||
|
dotnet_diagnostic.CA1848.severity = none
|
||||||
|
|
||||||
|
# Turn off CA1515(make public types internal) for files that contain exception types
|
||||||
|
[**/*Exception.cs]
|
||||||
|
dotnet_diagnostic.CA1515.severity = none
|
||||||
@@ -11,7 +11,6 @@
|
|||||||
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
|
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
|
||||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||||
<WarningsAsErrors/>
|
<WarningsAsErrors/>
|
||||||
<CodeAnalysisRuleSet>analyzers.ruleset</CodeAnalysisRuleSet>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
Reference in New Issue
Block a user