All Downloads are FREE. Search and download functionalities are using the official Maven repository.

checkstyle.checkstyle.xml Maven / Gradle / Ivy

There is a newer version: 2.9.0
Show newest version
<?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">

<module name="Checker">
  <property name="severity" value="warning"/>
  <module name="FileTabCharacter"/>
  <module name="JavadocPackage">
    <property name="severity" value="ignore"/>
    <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
  </module>
  <module name="NewlineAtEndOfFile">
    <property name="lineSeparator" value="lf" />
  </module>
  <module name="SuppressionFilter">
    <property name="file" value="/checkstyle/suppressions.xml"/>
  </module>
  <module name="Translation"/>
  <module name="TreeWalker">
    <property name="cacheFile" value="target/cachefile"/>
    <module name="ArrayTypeStyle"/>
    <module name="AvoidNestedBlocks"/>
    <module name="AvoidStarImport"/>
    <module name="DesignForExtension"/>
    <module name="EmptyBlock">
      <property name="option" value="text"/>
    </module>
    <module name="EmptyForIteratorPad"/>
    <module name="EmptyStatement"/>
    <module name="EqualsHashCode"/>
    <module name="FinalClass"/>
    <module name="HiddenField">
      <property name="ignoreConstructorParameter" value="true"/>
      <property name="ignoreSetter" value="true"/>
    </module>
    <module name="HideUtilityClassConstructor"/>
    <module name="IllegalInstantiation"/>
    <module name="ImportOrder">
      <property name="groups" value="java,javax,com,org"/>
      <property name="separated" value="true"/>
      <property name="option" value="top"/>
    </module>
    <module name="Indentation">
      <property name="caseIndent" value="0"/>
      <property name="throwsIndent" value="8"/>
    </module>
    <module name="InnerAssignment"/>
    <module name="InterfaceIsType"/>
    <module name="JavadocStyle"/>
    <module name="LeftCurly"/>
    <module name="LineLength"/>
    <module name="LocalFinalVariableName"/>
    <module name="LocalVariableName"/>
    <module name="MagicNumber">
      <property name="severity" value="ignore"/>
      <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
    </module>
    <module name="MemberName">
      <property name="applyToPublic" value="false"/>
    </module>
    <module name="MethodName"/>
    <module name="MethodParamPad"/>
    <module name="MissingSwitchDefault"/>
    <module name="ModifierOrder"/>
    <module name="MultipleVariableDeclarations"/>
    <module name="MutableException"/>
    <module name="NeedBraces"/>
    <module name="NoWhitespaceAfter"/>
    <module name="NoWhitespaceBefore"/>
    <module name="OneStatementPerLine"/>
    <module name="OperatorWrap">
      <property name="option" value="eol"/>
    </module>
    <module name="PackageName"/>
    <module name="ParameterName"/>
    <module name="ParenPad"/>
    <module name="RedundantImport"/>
    <module name="RedundantModifier"/>
    <module name="RightCurly"/>
    <module name="SimplifyBooleanExpression"/>
    <module name="SimplifyBooleanReturn"/>
    <module name="StaticVariableName"/>
    <module name="TodoComment">
      <property name="severity" value="ignore"/>
      <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
    </module>
    <module name="TypecastParenPad"/>
    <module name="TypeName"/>
    <module name="UnusedImports"/>
    <module name="UpperEll"/>
    <module name="VisibilityModifier">
      <property name="protectedAllowed" value="true"/>
      <property name="publicMemberPattern"
          value="(^thrown$|^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$)"/>
    </module>
    <module name="WhitespaceAfter"/>
    <module name="WhitespaceAround"/>
  </module>
  <module name="Header">
    <property name="fileExtensions" value="java"/>
    <property name="headerFile" value="${checkstyle.header.file}"/>
  </module>
  <module name="RegexpSingleline">
    <property name="format" value="\s+$"/>
    <property name="message" value="Line has trailing spaces."/>
  </module>
</module>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy