config.pmd.rulesets.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of env-config Show documentation
Show all versions of env-config Show documentation
A simple utility to manage environment configs in Java-based projects by merging *.properties files with environment variables overrides.
<?xml version="1.0"?> <ruleset name="All Java Rules" xmlns="http://pmd.sourceforge.net/ruleset/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd"> <description>Every Java Rule in PMD</description> <!-- Default rulesets --> <rule ref="rulesets/java/basic.xml" /> <rule ref="rulesets/java/empty.xml" /> <rule ref="rulesets/java/imports.xml"> <exclude name="TooManyStaticImports"/> </rule> <rule ref="rulesets/java/unnecessary.xml" /> <rule ref="rulesets/java/unusedcode.xml"> <exclude name="UnusedPrivateField"/> </rule> <!-- Additional rulesets --> <rule ref="rulesets/java/braces.xml" /> <rule ref="rulesets/java/strings.xml"> <exclude name="AvoidDuplicateLiterals"/> </rule> <rule ref="rulesets/java/strictexception.xml"> <exclude name="SignatureDeclareThrowsException"/> <exclude name="AvoidCatchingGenericException"/> </rule> <rule ref="rulesets/java/naming.xml"> <exclude name="MethodNamingConventions"/> <exclude name="LongVariable"/> <exclude name="ShortVariable"/> <exclude name="VariableNamingConventions"/> <exclude name="SuspiciousConstantFieldName"/> <exclude name="AbstractNaming"/> <exclude name="ShortClassName"/> <exclude name="AvoidFieldNameMatchingTypeName"/> </rule> <!-- <rule ref="rulesets/java/comments.xml" / --> <!-- <rule ref="rulesets/java/design.xml"> <exclude name="UseLocaleWithCaseConversions"/> <exclude name="ImmutableField"/> </rule> <rule ref="rulesets/java/optimizations.xml"> <exclude name="MethodArgumentCouldBeFinal"/> <exclude name="LocalVariableCouldBeFinal"/> </rule> --> </ruleset>