Skip to content

Commit 9171605

Browse files
committed
Exclude Generic.CodeAnalysis.UnusedFunctionParameter.FoundBeforeLastUsed
1 parent bdb9e04 commit 9171605

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

IxDFCodingStandard/ruleset.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@
7171
<!-- Forbid useless empty method overrides -->
7272
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/>
7373
<rule ref="Generic.CodeAnalysis.UnusedFunctionParameter">
74+
<!-- But allow specifying unused params not the last parameters that are used. Needed for code not owned by us. -->
75+
<exclude name="Generic.CodeAnalysis.UnusedFunctionParameter.FoundBeforeLastUsed"/>
7476
<!-- But allow specifying unused params for methods declared in parent classes -->
7577
<exclude name="Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClass"/>
7678
<!-- But allow specifying unused params for methods declared in parent classes -->

0 commit comments

Comments
 (0)