chore(analyzers): sets some default
This commit is contained in:
@@ -283,4 +283,11 @@ dotnet_naming_rule.everything_else_naming.severity = suggestion
|
|||||||
resharper_local_function_body = expression_body
|
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>
|
||||||
@@ -36,7 +35,7 @@
|
|||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="FluentValidation.AspNetCore" Version="11.3.0"/>
|
<PackageReference Include="FluentValidation.AspNetCore" Version="11.3.0"/>
|
||||||
<PackageReference Include="Postmark" Version="5.2.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="Stripe.net" Version="47.4.0"/>
|
||||||
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0" PrivateAssets="all"/>
|
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0" PrivateAssets="all"/>
|
||||||
<PackageReference Include="SonarAnalyzer.CSharp" Version="10.12.0.118525" PrivateAssets="all"/>
|
<PackageReference Include="SonarAnalyzer.CSharp" Version="10.12.0.118525" PrivateAssets="all"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user