Type | Scope | Severity | Activated by default |
Minutes to fix |
Tags |
---|---|---|---|---|---|
Code smell |
BSL OS |
Info |
Yes |
1 |
badpractice |
Name | Type | Description | Default value |
---|---|---|---|
allowedEmptyLinesCount |
Integer |
Maximum allowed consecutive empty lines |
1 |
To separate blocks of code among themselves, insert an empty line.
Inserting 2 or more empty lines does not carry this value and leads to a meaningless increase in the length of the method or module.
// BSLLS:ConsecutiveEmptyLines-off
// BSLLS:ConsecutiveEmptyLines-on
"ConsecutiveEmptyLines": {
"allowedEmptyLinesCount": 1
}