Pass Dprint options directly from deno.json during deno fmt #26874
Labels
deno fmt
Related to the "deno fmt" subcommand or dprint
suggestion
suggestions for new features (yet to be agreed)
The Deno doc here says,
but never says how. But it says the underlying formatter is Dprint, so presumably the above can be accomplished with the Dprint options documented here.
But if you add any of those to deno.json,
deno fmt
complains.This needlessly precludes the use of
deno fmt
for anyone who doesn't like the options it hard-codes outside the tiny subset that's allowed. For example, I can't prevent the formatter from messing up my braces and flow-control statements. But Dprint offers the exact options I want:The text was updated successfully, but these errors were encountered: