This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-validator.git

commit 41b4aec46b7a72864f9457f66affa2458567397e
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Oct 9 10:50:55 2023 -0400

    Use Checkstyle to validate import order
---
 src/conf/checkstyle.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml
index 1db570bc..8ce9863c 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -122,6 +122,12 @@
       <property name="commentFormat" value="CHECKSTYLE IGNORE (\w+)" />
       <property name="checkFormat" value="$1" />
     </module>
+    <module name="ImportOrder">
+      <property name="option" value="top"/>
+      <property name="groups" value="java,javax,org"/>
+      <property name="ordered" value="true"/>
+      <property name="separated" value="true"/>
+    </module>
 
   </module>
 

Reply via email to