Skip to content

Commit

Permalink
#136: Reconfigure ShortClassName symbols >= 3
Browse files Browse the repository at this point in the history
Fixed #136
  • Loading branch information
dgroup committed Apr 27, 2022
1 parent 1bb7562 commit 9243756
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ In addition to our custom/reconfigured rules we are using the latest stable pmd-
| [UseObjectForClearerAPI](https://pmd.github.io/latest/pmd_rules_java_design.html#useobjectforclearerapi) | `pmd-java:6.44.0` ||||
| [AtLeastOneConstructor](https://pmd.github.io/latest/pmd_rules_java_codestyle.html#atleastoneconstructor) | `pmd-java:6.44.0` ||||
| [UseUtilityClass](https://pmd.github.io/latest/pmd_rules_java_design.html#useutilityclass) | `pmd-java:6.44.0` | 🌵 |||
| [ShortClassName](https://pmd.github.io/latest/pmd_rules_java_codestyle.html#shortclassname) | `pmd-java:6.44.0` | 🌵 |||

### How to use?

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,14 @@

<rule ref="category/java/codestyle.xml">
<exclude name="AtLeastOneConstructor"/>
<exclude name="ShortClassName"/>
<exclude name="OnlyOneReturn"/> <!-- @todo #/DEV OnlyOneReturn: deep investigation is needed regarding purpose and goal of this this rule. Potentially improvement is needed. -->
</rule>
<rule ref="category/java/codestyle.xml/ShortClassName">
<properties>
<property name="minimum" value="3" />
</properties>
</rule>

<rule ref="category/java/design.xml">
<exclude name="LawOfDemeter"/> <!-- @todo #/DEV LawOfDemeter: deep investigation is needed regarding purpose and goal of this this rule. Potentially improvement is needed. -->
Expand Down

0 comments on commit 9243756

Please sign in to comment.