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-configuration.git

commit b3ac322213f0562f393b833cd1d19e38ece4ab80
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Oct 9 08:51:40 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 88f11585..22a3dd1a 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -147,6 +147,12 @@
     <module name="ArrayTypeStyle" />
     <module name="TodoComment" />
     <module name="UpperEll" />
+    <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