Skip to content

Commit 1be9491

Browse files
committed
Disable the rules in the ruleset
1 parent 85c0b61 commit 1be9491

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.editorconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -422,9 +422,6 @@ dotnet_naming_rule.parameters_rule.symbols = parameters_group
422422
dotnet_naming_rule.parameters_rule.style = camel_case_style
423423
dotnet_naming_rule.parameters_rule.severity = warning
424424

425-
426-
dotnet_diagnostics.CA1857.severity = none
427-
dotnet_diagnostics.CA1859.severity = none
428425
##########################################
429426
# License
430427
##########################################

src/ImageSharp.ruleset

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<RuleSet Name="ImageSharp" ToolsVersion="17.0">
33
<Include Path="..\shared-infrastructure\sixlabors.ruleset" Action="Default" />
4+
<Rules AnalyzerId="Microsoft.CodeAnalysis.CSharp.NetAnalyzers" RuleNamespace="Microsoft.CodeAnalysis.CSharp.NetAnalyzers">
5+
<Rule Id="CA1857" Action="None" />
6+
<Rule Id="CA1859" Action="None" />
7+
</Rules>
48
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
59
<Rule Id="SA1011" Action="None" />
610
</Rules>
7-
</RuleSet>
11+
</RuleSet>

0 commit comments

Comments
 (0)