aboutsummaryrefslogtreecommitdiff
path: root/scalastyle-config.xml
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-04-09 17:52:31 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-04-09 17:52:31 +0200
commitca34e60c2dd57c9fc7afa4380666eecdec515e3d (patch)
tree0b3c0934a1d9eaff1506c4b8eae5ed6829df440e /scalastyle-config.xml
parent05e4c5d8ef34a03944ab18c219c2e77c065a84ce (diff)
downloaddotty-ca34e60c2dd57c9fc7afa4380666eecdec515e3d.tar.gz
dotty-ca34e60c2dd57c9fc7afa4380666eecdec515e3d.tar.bz2
dotty-ca34e60c2dd57c9fc7afa4380666eecdec515e3d.zip
Use EnsureSingleSpaceAfterTokenChecker to discover forgotten spaces after `if`
Diffstat (limited to 'scalastyle-config.xml')
-rw-r--r--scalastyle-config.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/scalastyle-config.xml b/scalastyle-config.xml
index fa5b6e646..a42e14a1a 100644
--- a/scalastyle-config.xml
+++ b/scalastyle-config.xml
@@ -25,6 +25,11 @@
// limitations under the License.]]></parameter>
</parameters>
</check>
+ <check level="warning" class="org.scalastyle.scalariform.EnsureSingleSpaceAfterTokenChecker" enabled="false">
+ <parameters>
+ <parameter name="tokens">IF</parameter>
+ </parameters>
+ </check>
<check level="warning" class="org.scalastyle.scalariform.SpacesAfterPlusChecker" enabled="false"></check>
<check level="warning" class="org.scalastyle.file.WhitespaceEndOfLineChecker" enabled="true"></check>
<check level="warning" class="org.scalastyle.scalariform.SpacesBeforePlusChecker" enabled="true"></check>