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 12:57:29 UTC

[commons-csv] 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-csv.git

commit ceb57bf60b03935aa60f03d721b62ebb3a54c030
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Oct 9 08:57:23 2023 -0400

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

diff --git a/src/conf/checkstyle/checkstyle.xml b/src/conf/checkstyle/checkstyle.xml
index 01fabc1a..4ae1fec6 100644
--- a/src/conf/checkstyle/checkstyle.xml
+++ b/src/conf/checkstyle/checkstyle.xml
@@ -63,6 +63,12 @@ limitations under the License.
     <module name="OperatorWrap">
       <property name="option" value="eol" />
     </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>
 
 </module>