News for hackers. Stuff that matters.
Re:Prettier 2.0 – Opinionated JavaScript formatter by amarshall on Monday March 23, 2020 @12:11AM (#22661193)
To be fair, that's more of a JSON problem than a JS one. FWIW, JSON is also missing quote-less keys, object literal shorthand, non-decimal numbers, values that are non-simple literals, and probably a bunch else from JS object syntax.

Just `JSON.stringify` whatever object it is instead.

Re:Prettier 2.0 – Opinionated JavaScript formatter by Groxx on Monday March 23, 2020 @12:45AM (#22661336)
No comments either, which is one major reason I strongly oppose JSON as a config-file language :|