Skip to content

Commit

Permalink
Use Checkstyle to validate import order
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Oct 9, 2023
1 parent d9cb811 commit 41b4aec
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/conf/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,12 @@
<property name="commentFormat" value="CHECKSTYLE IGNORE (\w+)" />
<property name="checkFormat" value="$1" />
</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>

Expand Down

0 comments on commit 41b4aec

Please sign in to comment.