diff options
Diffstat (limited to 'scalding/scalastyle-config.xml')
-rw-r--r-- | scalding/scalastyle-config.xml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/scalding/scalastyle-config.xml b/scalding/scalastyle-config.xml index adf9b0f..86d8fca 100644 --- a/scalding/scalastyle-config.xml +++ b/scalding/scalastyle-config.xml @@ -62,7 +62,7 @@ <parameter name="maxParameters"><![CDATA[8]]></parameter> </parameters> </check> - <check level="warning" class="org.scalastyle.scalariform.MagicNumberChecker" enabled="true"> + <check level="warning" class="org.scalastyle.scalariform.MagicNumberChecker" enabled="false"> <parameters> <parameter name="ignore"><![CDATA[-1,0,1,2,3]]></parameter> </parameters> @@ -116,15 +116,18 @@ <check level="warning" class="org.scalastyle.scalariform.PublicMethodsHaveTypeChecker" enabled="true"></check> <check level="warning" class="org.scalastyle.file.NewLineAtEofChecker" enabled="true"></check> <check level="warning" class="org.scalastyle.file.NoNewLineAtEofChecker" enabled="false"></check> - <check class="org.scalastyle.scalariform.BlockImportChecker" level="warning" enabled="true"/> -<check class="org.scalastyle.scalariform.ImportOrderChecker" level="warning" enabled="true"> + <check enabled="true" class="org.scalastyle.scalariform.BlockImportChecker" level="warning"/> + <check enabled="true" class="org.scalastyle.scalariform.ImportOrderChecker" level="warning"> <parameters> <parameter name="groups">java,scala,others</parameter> <parameter name="group.java">javax?\..+</parameter> <parameter name="group.scala">scala\..+</parameter> <parameter name="group.others">.+</parameter> - <parameter name="maxBlankLines">1</parameter> - <parameter name="lexicographic">true</parameter> + </parameters> + </check> +<check level="warning" class="org.scalastyle.scalariform.IllegalImportsChecker" enabled="true"> + <parameters> + <parameter name="illegalImports"><![CDATA[sun._,java.awt._]]></parameter> </parameters> </check> <check level="warning" class="org.scalastyle.scalariform.IllegalImportsChecker" enabled="true"> |