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>
|
||||
@@ -36,7 +35,7 @@
|
||||
</PackageReference>
|
||||
<PackageReference Include="FluentValidation.AspNetCore" Version="11.3.0"/>
|
||||
<PackageReference Include="Postmark" Version="5.2.0"/>
|
||||
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.11" />
|
||||
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.11"/>
|
||||
<PackageReference Include="Stripe.net" Version="47.4.0"/>
|
||||
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0" PrivateAssets="all"/>
|
||||
<PackageReference Include="SonarAnalyzer.CSharp" Version="10.12.0.118525" PrivateAssets="all"/>
|
||||
|
||||
Reference in New Issue
Block a user