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
|
||||
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>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<WarningsAsErrors/>
|
||||
<CodeAnalysisRuleSet>analyzers.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user