[Bug] Crash on startup when `json5` config file has trailing commas
Closed this issue ยท 3 comments
Found this by using VSCode to edit the config file, which automatically puts trailing commas when formatting.
trailing commas aren't allowed in json. the parser (not my code) is just following the spec
https://www.json.org/json-en.html
whatever vscode plugin you have is doing it wrong
You are using json5 though.
It also has a spec. https://spec.json5.org/
And it allows trailing commas. Maybe there's a different parser for it.