2 ms·
JSONC supports trailing commas. > - it has good editor support (VsCode) Unfortunately it doesn't really because of the extension issue I mentioned. Certain fi
by IshKebab 5y ago
JSONC supports trailing commas.
> - it has good editor support (VsCode)
Unfortunately it doesn't really because of the extension issue I mentioned. Certain file names (like `tsconfig.json`) are whitelisted to have JSONC support, but any random file `foo.json` will be treated as JSON and give you annoying lints if you put comments and trailing commas in.
That's a fairly recent change I think.