Pattern: Line is too long
Issue: -
Your source code should not contain very long lines. The default wrapping in most tools disrupts the visual structure of the code, making it more difficult to understand.
Name | Description | Type | Default Value |
---|---|---|---|
maxLineLength | Maximum line length | integer | 160 |
tabSize | Tab size | integer | 4 |
ignoreImports | Ignore import statements | boolean | false |
<check enabled="true" class="org.scalastyle.file.FileLineLengthChecker" level="warning">
<parameters>
<parameter name="maxLineLength">100</parameter>
<parameter name="tabSize">2</parameter>
<parameter name="ignoreImports">true</parameter>
</parameters>
</check>