Gary K
Gary K2mo ago

deno fmt vs prettier

How can I use deno fmt to combine empty braces together, similar to prettier? e.g.
for (let i = 0 ; i < 99 ; i++) {
}
for (let i = 0 ; i < 99 ; i++) {
}
should become
for (let i = 0 ; i < 99 ; i++) {}
for (let i = 0 ; i < 99 ; i++) {}
I tried setting bracePosition to sameLine but it doesn't seem to work... Or is this a dprint config issue?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?