aboutsummaryrefslogtreecommitdiff
path: root/scalastyle-config.xml
diff options
context:
space:
mode:
authorReynold Xin <rxin@databricks.com>2015-05-31 01:37:56 -0700
committerReynold Xin <rxin@databricks.com>2015-05-31 01:37:56 -0700
commit4b5f12bac939a2f47a3a61365b5325d849b7b51f (patch)
tree9194cea6c59b27cea490339597dd3faea8a18988 /scalastyle-config.xml
parent63a50be13d32b9e5f3aad8d1a6ba5362f17a252f (diff)
downloadspark-4b5f12bac939a2f47a3a61365b5325d849b7b51f.tar.gz
spark-4b5f12bac939a2f47a3a61365b5325d849b7b51f.tar.bz2
spark-4b5f12bac939a2f47a3a61365b5325d849b7b51f.zip
[SPARK-7979] Enforce structural type checker.
Author: Reynold Xin <rxin@databricks.com> Closes #6536 from rxin/structural-type-checker and squashes the following commits: f833151 [Reynold Xin] Fixed compilation. 633f9a1 [Reynold Xin] Fixed typo. d1fa804 [Reynold Xin] [SPARK-7979] Enforce structural type checker.
Diffstat (limited to 'scalastyle-config.xml')
-rw-r--r--scalastyle-config.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/scalastyle-config.xml b/scalastyle-config.xml
index 3a98422216..75ef1e964b 100644
--- a/scalastyle-config.xml
+++ b/scalastyle-config.xml
@@ -114,6 +114,9 @@
<!-- <parameter name="maximum"><![CDATA[10]]></parameter> -->
<!-- </parameters> -->
<!-- </check> -->
+
+ <check level="error" class="org.scalastyle.scalariform.StructuralTypeChecker" enabled="true"></check>
+
<check level="error" class="org.scalastyle.scalariform.UppercaseLChecker" enabled="true"></check>
<check level="error" class="org.scalastyle.scalariform.SimplifyBooleanExpressionChecker" enabled="false"></check>
<check level="error" class="org.scalastyle.scalariform.IfBraceChecker" enabled="true">