Skip to content

Commit ca34e60

Browse files
committed
Use EnsureSingleSpaceAfterTokenChecker to discover forgotten spaces after if
1 parent 05e4c5d commit ca34e60

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scalastyle-config.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@
2525
// limitations under the License.]]></parameter>
2626
</parameters>
2727
</check>
28+
<check level="warning" class="org.scalastyle.scalariform.EnsureSingleSpaceAfterTokenChecker" enabled="false">
29+
<parameters>
30+
<parameter name="tokens">IF</parameter>
31+
</parameters>
32+
</check>
2833
<check level="warning" class="org.scalastyle.scalariform.SpacesAfterPlusChecker" enabled="false"></check>
2934
<check level="warning" class="org.scalastyle.file.WhitespaceEndOfLineChecker" enabled="true"></check>
3035
<check level="warning" class="org.scalastyle.scalariform.SpacesBeforePlusChecker" enabled="true"></check>

0 commit comments

Comments
 (0)