The draft spec was recently edited to include reasons why trailing commas should not be supported. A major reason that was mentioned multiple times in issues/discussion in the VS Code repo is that tsconfig.json doesn't support trailing commas.
However, this last statement is incorrect. tsconfig.json files do support trailing commas according to the schema on schemastore.
Hence, considering the following... :
- The official Typescript tsconfig parser supports it (source).
- 2 out of the 3 most popular npm packages used to parse tsconfig files support it:
... we should should consider removing the mention that tsconfig.json doesn't support trailing commas.
{ "$schema": "http://json-schema.org/draft-04/schema#", "$comment": "Note that this schema uses 'null' in various places. The value of 'null' is UNDOCUMENTED (https://github.com/microsoft/TypeScript/pull/18058)", "allowTrailingCommas": true, "allOf": [ ...