Andrey Mashenkov created IGNITE-15286:
-----------------------------------------

             Summary: Code style improvement.
                 Key: IGNITE-15286
                 URL: https://issues.apache.org/jira/browse/IGNITE-15286
             Project: Ignite
          Issue Type: Improvement
            Reporter: Andrey Mashenkov


We have a requirement to the imports order in our code-style guide,
but checkstyle plugin has no rules configured.
Let's turn on these checks with the code below..

Also, let's add Idea codestyle config to the project as it is in Ignite 2.

{code:java}
<module name="AvoidStarImport"/>
<module name="CustomImportOrder">
    <property name="customImportOrderRules"
              
value="STANDARD_JAVA_PACKAGE###SPECIAL_IMPORTS###THIRD_PARTY_PACKAGE###STATIC"/>
    <property name="standardPackageRegExp" value="^java\."/>
    <property name="specialImportsRegExp" value="^javax\."/>
    <property name="sortImportsInGroupAlphabetically" value="true"/>
    <property name="separateLineBetweenGroups" value="false"/>
</module>
{code}




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to