64 lines
2.4 KiB
XML
64 lines
2.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
|
|
|
|
<!--
|
|
This configuration file was written by the eclipse-cs plugin configuration editor
|
|
-->
|
|
<!--
|
|
Checkstyle-Configuration: PMD checkstyle
|
|
Description: none
|
|
-->
|
|
<module name="Checker">
|
|
<property name="severity" value="warning"/>
|
|
<module name="TreeWalker">
|
|
<property name="tabWidth" value="4"/>
|
|
<module name="JavadocStyle">
|
|
<property name="severity" value="warning"/>
|
|
<property name="checkEmptyJavadoc" value="true"/>
|
|
<property name="checkFirstSentence" value="false"/>
|
|
</module>
|
|
<module name="JavadocType">
|
|
<property name="severity" value="warning"/>
|
|
</module>
|
|
<module name="JavadocMethod">
|
|
<property name="severity" value="warning"/>
|
|
<property name="scope" value="package"/>
|
|
<property name="allowUndeclaredRTE" value="true"/>
|
|
<property name="allowMissingPropertyJavadoc" value="true"/>
|
|
</module>
|
|
<module name="JavadocVariable">
|
|
<property name="severity" value="warning"/>
|
|
<property name="scope" value="package"/>
|
|
</module>
|
|
<module name="AvoidStarImport">
|
|
<property name="severity" value="error"/>
|
|
</module>
|
|
<module name="TodoComment">
|
|
<property name="format" value="TODO"/>
|
|
</module>
|
|
<module name="TodoComment">
|
|
<property name="format" value="FUTURE"/>
|
|
</module>
|
|
<module name="RedundantImport">
|
|
<property name="severity" value="error"/>
|
|
</module>
|
|
</module>
|
|
<module name="RegexpHeader">
|
|
<property name="severity" value="error"/>
|
|
<property name="header" value="^\/\*\*[ ]*$\n^[ ]+\*[ ]+BSD-style license; for more info see http:\/\/pmd.sourceforge.net/license.html[ ]*\n[ ]+\*\/[ ]*$"/>
|
|
<property name="fileExtensions" value="java"/>
|
|
</module>
|
|
<module name="RegexpHeader">
|
|
<property name="severity" value="error"/>
|
|
<property name="header" value="^#$\n^# BSD-style license; for more info see http:\/\/pmd.sourceforge.net/license.html$\n^#$"/>
|
|
<property name="fileExtensions" value="properties"/>
|
|
</module>
|
|
<module name="FileTabCharacter">
|
|
<property name="severity" value="error"/>
|
|
<property name="fileExtensions" value="java,xml"/>
|
|
</module>
|
|
<module name="JavadocPackage">
|
|
<property name="severity" value="warning"/>
|
|
</module>
|
|
</module>
|