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-cli.git
commit cbed5ee00c0ef09616f0cf7065e746a694943736 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Mon Oct 9 08:09:56 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 2635c81..1968db0 100644 --- a/src/conf/checkstyle.xml +++ b/src/conf/checkstyle.xml @@ -130,6 +130,12 @@ <!-- <module name="GenericIllegalRegexp"> <property name="format" value="\s+$"/> <property name="message" value="Line has trailing spaces."/> </module> --> <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>