Re:TOML: Tom's Obvious Minimal Language
by NoahKAndrews on Sunday May 21, 2023 @03:01PM
(#36023778)
Prettier defaults to double quotes.
I'm curious what you have against Prettier.
I'm curious what you have against Prettier.
But if you did want to fix JSON, the yes, trailing commas and comments are the absolute minimum bar, but single quote is actually probably the the third absolute must-fix.
The reason is just that so much JavaScript tooling is now configured to autoformat code (including the JSON bits) to swap " to ', thanks in large part to Prettier (which also should almost never be used, sigh, but that's a topic for another HN bikeshed...)
hexadecimal identifiers, yeah, nah