Skip to content

Files

Latest commit

 

History

History
29 lines (21 loc) · 901 Bytes

WhitespaceEndOfLine.md

File metadata and controls

29 lines (21 loc) · 901 Bytes

Pattern: Trailing whitespace

Issue: -

Description

Whitespace at the end of a line can cause problems when diffing between files or between versions.

Parameters

NameDescriptionTypeDefault Value
ignoreWhitespaceLines Ignore lines with just whitespace boolean false

Example configuration

<check enabled="true" class="org.scalastyle.file.WhitespaceEndOfLineChecker" level="warning">
 <parameters>
  <parameter default="false" type="boolean" name="ignoreWhitespaceLines"/>
 </parameters>
</check>