Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Improve]Temporarily disable import sort #2601

Merged
merged 1 commit into from
Aug 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions script/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -296,15 +296,18 @@
value="Redundant import {0}."/>
</module>

<module name="ImportOrder">
<!--
Temporarily disabled: https://github.com/apache/hertzbeat/issues/2594
-->
<!--<module name="ImportOrder">
<property name="severity" value="error"/>
<!-- This ensures that static imports go first. -->
&lt;!&ndash; This ensures that static imports go first. &ndash;&gt;
<property name="option" value="top"/>
<property name="sortStaticImportsAlphabetically" value="true"/>
<property name="tokens" value="STATIC_IMPORT, IMPORT"/>
<message key="import.ordering"
value="Import {0} appears after other imports that it should precede"/>
</module>
</module>-->

<module name="AvoidStarImport">
<property name="severity" value="error"/>
Expand Down
Loading