Skip to content

Commit

Permalink
Merge pull request #2 from newsuk/chore/CPNT-2514/short-variable-rule
Browse files Browse the repository at this point in the history
chore/CPNT-2514: Update ShortVariable
  • Loading branch information
edwil-jonas authored May 7, 2024
2 parents 9045ab5 + 3c5ab4a commit 3b3b12d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@
<rule ref="rulesets/design.xml/NumberOfChildren" />
<rule ref="rulesets/design.xml/DepthOfInheritance" />
<rule ref="rulesets/design.xml/CouplingBetweenObjects" />
<rule ref="rulesets/naming.xml/ShortVariable" />
<rule ref="rulesets/naming.xml/ShortVariable">
<properties>
<property name="minimum" value="2" />
</properties>
</rule>
<rule ref="rulesets/naming.xml/LongVariable">
<properties>
<property name="maximum" value="35" />
Expand Down

0 comments on commit 3b3b12d

Please sign in to comment.