Open redkhalil opened 4 years ago
This is my configuration
<check level="error" class="org.scalastyle.scalariform.ImportOrderChecker" enabled="true"> <parameters> <parameter name="groups">java,scala,others,mycompany</parameter> <parameter name="group.java">javax?\..+</parameter> <parameter name="group.scala">scala\..+</parameter> <parameter name="group.mycompany">com.mycompany\..+</parameter> <parameter name="group.others">.+</parameter> </parameters> </check>
and the following import is being flagged as invalid by scalastyle, reporting There should be no empty line separating imports in the same group.
There should be no empty line separating imports in the same group.
com.rabbitmq.this com.mycompany.that
However if I change the order to java,scala,mycompany,others then there is no error reported.
java,scala,mycompany,others
This is my configuration
and the following import is being flagged as invalid by scalastyle, reporting
There should be no empty line separating imports in the same group.
However if I change the order to
java,scala,mycompany,others
then there is no error reported.