Rule Request: Configuration onlyEnforceBeforeTrivialLines
for VerticalWhitespaceClosingBracesRule
#3940
Open
Description
Vertical whitespace may be important for readability when the line with the closing brace is not a trivial one.
The configuration should allows not enforcing the rule in such cases.
E.g. a non-triggering-example would be:
if someCondition {
// do something
// do something
} else if ... {
// do something
// do something
// do something
} else {
// do something
// do something
}