Merge pull request #4 from kemitix/update-rules
Relax rules requiring short comments and effectively no string literals
This commit is contained in:
commit
0557685194
1 changed files with 2 additions and 2 deletions
|
@ -202,7 +202,7 @@ http://pmd.sourceforge.net/ruleset/2.0.0 ">
|
|||
<!-- only public and protected methods are required -->
|
||||
</properties>
|
||||
</rule>
|
||||
<rule ref="category/java/documentation.xml/CommentSize"/>
|
||||
<!--<rule ref="category/java/documentation.xml/CommentSize"/> - doesn't ignore headers, e.g. MIT License -->
|
||||
<rule ref="category/java/documentation.xml/UncommentedEmptyConstructor"/>
|
||||
<rule ref="category/java/documentation.xml/UncommentedEmptyMethodBody"/>
|
||||
|
||||
|
@ -218,7 +218,7 @@ http://pmd.sourceforge.net/ruleset/2.0.0 ">
|
|||
<rule ref="category/java/errorprone.xml/AvoidDecimalLiteralsInBigDecimalConstructor"/>
|
||||
<rule ref="category/java/errorprone.xml/AvoidDuplicateLiterals">
|
||||
<properties>
|
||||
<property name="maxDuplicateLiterals" value="1"/>
|
||||
<property name="maxDuplicateLiterals" value="2"/>
|
||||
</properties>
|
||||
</rule>
|
||||
<rule ref="category/java/errorprone.xml/AvoidEnumAsIdentifier"/>
|
||||
|
|
Loading…
Reference in a new issue