Gary KG
Denoβ€’7mo ago
Gary K

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++) {
}


should become

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?
Was this page helpful?