Closed
Description
The following, when NoEmptyLinesOpeningClosingBraces
is true,
func foo() {
let x = 1
// let y = 2
// let z = 3
}
results in
func foo() {
let x = 1
// let y = 2
// let z = 3
}
It also happens the other way around.
func foo() {
// let w = 0
let x = 1
}
becomes
func foo() {
// let w = 0
let x = 1
}
IMO both cases should be left unchanged, because these empty lines will likely be intentional. Also, in the stricter sense, they are not located after/before the opening/closing braces.
Metadata
Metadata
Assignees
Labels
No labels