Open lhunath opened 3 years ago
This is by design (although the design may be flawed). blankLinesBetweenScopes
basically just inserts a new line after every closing }
.
I would argue that it is by implementation, not by design. :–)
The design is "Insert blank line before class, struct, enum, extension, protocol or function declarations."
Given the following code:
The
blankLinesBetweenScopes
rule appears to insert a newline before thef
member. This is unexpected.Practical example: