Skip to content

Commit cc52a7a

Browse files
committed
Simplify config: remove Generic.CodeAnalysis.UnusedFunctionParameter
too many special cases. also, we should like to minimize number of warnings and use errors only
1 parent 9171605 commit cc52a7a

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

IxDFCodingStandard/ruleset.xml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -70,22 +70,6 @@
7070
<rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier"/>
7171
<!-- Forbid useless empty method overrides -->
7272
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/>
73-
<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"/>
76-
<!-- But allow specifying unused params for methods declared in parent classes -->
77-
<exclude name="Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClass"/>
78-
<!-- But allow specifying unused params for methods declared in parent classes -->
79-
<exclude name="Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassBeforeLastUsed"/>
80-
<!-- But allow specifying unused params for methods declared in parent classes -->
81-
<exclude name="Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassAfterLastUsed"/>
82-
<!-- But allow specifying unused params for methods declared in parent interface -->
83-
<exclude name="Generic.CodeAnalysis.UnusedFunctionParameter.FoundInImplementedInterface"/>
84-
<!-- But allow specifying unused params for methods declared in parent interface -->
85-
<exclude name="Generic.CodeAnalysis.UnusedFunctionParameter.FoundInImplementedInterfaceBeforeLastUsed"/>
86-
<!-- But allow specifying unused params for methods declared in parent interface -->
87-
<exclude name="Generic.CodeAnalysis.UnusedFunctionParameter.FoundInImplementedInterfaceAfterLastUsed"/>
88-
</rule>
8973
<!-- Detects the usage of one and the same incrementer into an outer and an inner -->
9074
<rule ref="Generic.CodeAnalysis.JumbledIncrementer"/>
9175
<rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/>

0 commit comments

Comments
 (0)