You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2022/01/24 11:03:01 UTC

[GitHub] [incubator-seatunnel] asdf2014 commented on a change in pull request #1145: [SeaTunnel#1144] Add a rule into Code Style for the order of improts

asdf2014 commented on a change in pull request #1145:
URL: https://github.com/apache/incubator-seatunnel/pull/1145#discussion_r790631970



##########
File path: tools/checkstyle/checkStyle.xml
##########
@@ -81,6 +81,14 @@
     </module>
 
     <module name="TreeWalker">
+        <module name="CustomImportOrder">
+            <property name="customImportOrderRules"
+                      value="THIRD_PARTY_PACKAGE###STANDARD_JAVA_PACKAGE###SPECIAL_IMPORTS###STATIC"/>
+            <property name="standardPackageRegExp" value="^java\."/>
+            <property name="specialImportsRegExp" value="^javax\."/>
+            <property name="sortImportsInGroupAlphabetically" value="true"/>
+            <property name="separateLineBetweenGroups" value="false"/>
+        </module>

Review comment:
       Hi @leo65535, thanks for your comment, let me try this out




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org