Configure Imports checkstyle.

This commit is contained in:
Jeremy Wood 2023-09-06 09:26:00 -04:00
parent c62c1278ec
commit 086c3e8af0
No known key found for this signature in database
GPG Key ID: C5BAD04C77B91B4B

View File

@ -149,6 +149,15 @@
<property name="validateBetweenScopes" value="true"/> <property name="validateBetweenScopes" value="true"/>
</module> </module>
<!-- Imports -->
<module name="AvoidStarImport"/>
<module name="IllegalImport">
<property name="illegalPkgs" value="sun"/>
</module>
<module name="ImportOrder"/>
<module name="RedundantImport"/>
<module name="UnusedImports"/>
<!-- Javadoc Comments --> <!-- Javadoc Comments -->
<module name="AtclauseOrder"/> <module name="AtclauseOrder"/>
<module name="InvalidJavadocPosition"/> <module name="InvalidJavadocPosition"/>
@ -204,15 +213,6 @@
<module name="ParameterName"/> <module name="ParameterName"/>
<module name="StaticVariableName"/> <module name="StaticVariableName"/>
<module name="TypeName"/> <module name="TypeName"/>
<module name="AvoidStarImport">
<property name="severity" value="warning"/>
<property name="excludes" value="com.onarandombox.MultiverseCore.utils,com.onarandombox.MultiverseCore.configuration,com.onarandombox.MultiverseCore.commands,com.onarandombox.MultiverseCore.destination"/>
</module>
<module name="IllegalImport"/>
<module name="RedundantImport"/>
<module name="UnusedImports">
<property name="processJavadoc" value="true"/>
</module>
<module name="MethodLength"> <module name="MethodLength">
<property name="severity" value="warning"/> <property name="severity" value="warning"/>
<property name="countEmpty" value="false"/> <property name="countEmpty" value="false"/>