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

ara.1.9.0.source-code.checkstyle.xml Maven / Gradle / Ivy

There is a newer version: 1.12
Show newest version
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
    "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
    "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">

<module name="Checker">
	<!--Checks whether files end with a new line.-->
	<module name="NewlineAtEndOfFile">
		<property name="fileExtensions" value="java, xml, properties" />
	</module>

	<module name="FileLength"/>

	<module name="TreeWalker">
		<property name="cacheFile" value="${checkstyle.cache.file}"/>
		<module name="RegexpSinglelineJava">
			<property name="format" value="\s+$"/>
			<property name="message" value="Line has trailing whitespace."/>
			<property name="ignoreComments" value="true"/>
		</module>
		<module name="RegexpSinglelineJava">
			<property name="format" value="^\t* +\t*\S"/>
			<property name="message" value="Line has leading space characters; Only tabs are allowed!"/>
			<property name="ignoreComments" value="true"/>
		</module>

		<!--Checks for Javadoc comments.-->
		<!--<module name="JavadocMethod"/>-->
		<!--<module name="JavadocType"/>-->
		<!--<module name="JavadocVariable"/>-->
		<!--<module name="JavadocStyle"/>-->

		<!--Checks for Naming Conventions.-->
		<!--<module name="ConstantName"/>-->
		<!--<module name="LocalFinalVariableName"/>-->
		<!--<module name="MethodName"/>-->
		<module name="LocalVariableName"/>
		<module name="MemberName"/>
		<module name="PackageName"/>
		<module name="ParameterName"/>
		<module name="StaticVariableName"/>
		<module name="TypeName"/>

		<!--Checks for imports-->
		<!--<module name="AvoidStarImport"/>-->
		<module name="IllegalImport"/>
		<module name="RedundantImport"/>
		<module name="UnusedImports"/>
		<module name="MethodParamPad">
			<property name="option" value="nospace"/>
			<property name="allowLineBreaks" value="false"/>
		</module>

		<!--Checks for Size Violations.-->
		<!--<module name="LineLength">-->
		<!--<property name="max" value="140"/>-->
		<!--</module>-->
		<!--<module name="MethodLength"/>-->
		<!--<module name="ParameterNumber"/>-->

		<!--Checks for whitespace-->
		<!--<module name="EmptyForIteratorPad"/>-->
		<!--<module name="MethodParamPad"/>-->
		<!--<module name="NoWhitespaceAfter"/>-->
		<!--<module name="NoWhitespaceBefore"/>-->
		<!--<module name="OperatorWrap"/>-->
		<!--<module name="WhitespaceAfter"/>-->
		<module name="ParenPad"/>
		<module name="TypecastParenPad"/>
		<module name="GenericWhitespace"/>
		<module name="WhitespaceAround"/>

		<!--Modifier Checks-->
		<module name="ModifierOrder"/>
		<module name="RedundantModifier"/>
		<module name="PackageAnnotation"/>

		<!--Checks for blocks. You know, those {}'s-->
		<!--<module name="AvoidNestedBlocks"/>-->
		<module name="EmptyBlock"/>
		<module name="NeedBraces"/>
		<module name="LeftCurly"/>
		<module name="RightCurly"/>

		<!--Checks for common coding problems-->
		<!--<module name="AvoidInlineConditionals"/>-->
		<!--<module name="HiddenField"/>-->
		<!--<module name="InnerAssignment"/>-->
		<!--<module name="MagicNumber"/>-->
		<module name="EmptyStatement"/>
		<module name="EqualsHashCode"/>
		<module name="IllegalInstantiation"/>
		<module name="MissingSwitchDefault"/>
		<module name="RedundantThrows"/>
		<module name="SimplifyBooleanExpression"/>
		<module name="SimplifyBooleanReturn"/>
		<module name="CovariantEquals"/>
		<module name="ModifiedControlVariable"/>
		<module name="OneStatementPerLine"/>
		<module name="EmptyStatement"/>
		<module name="DefaultComesLast"/>

		<!--Checks for class design-->
		<!--<module name="DesignForExtension"/>-->
		<!--<module name="HideUtilityClassConstructor"/>-->
		<!--<module name="VisibilityModifier"/>-->
		<module name="FinalClass"/>
		<module name="InterfaceIsType"/>

		<!--Miscellaneous other checks.-->
		<!--<module name="ArrayTypeStyle"/>-->
		<!--<module name="FinalParameters"/>-->
		<!--<module name="TodoComment"/>-->
		<!--<module name="UpperEll"/>-->

	</module>
</module>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy