deno-fmt-ignore
behavior in JSONC is unintuitive
#15422
Labels
deno fmt
Related to the "deno fmt" subcommand or dprint
suggestion
suggestions for new features (yet to be agreed)
deno fmt
doesn't like trailing commas in JSONC, which is mostly fine since we can just let it ignore them, but the behavior is unintuitive.This works:
But this doesn't work, which places the comment to the desired location:
This doesn't work either, though I'm not sure if other formatters support this comment style:
The text was updated successfully, but these errors were encountered: