You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/10/09 14:49:44 UTC
[commons-text] 02/02: Use Checkstyle to validate import order
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-text.git
commit 19f09167d01d4969ac7fbb38f5a390341f93cc87
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Oct 9 10:49:38 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 44c3e041..5dea6d7d 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -173,6 +173,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>