# Allow trailing commas in builtin JSONC schemas \(\#43854\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/cd8679e81a2d3c32b10bf65a3d583b6886d2a2f3)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: cd8679e81a2d3c32b10bf65a3d583b6886d2a2f3

Requested commit: cd8679e81a2d3c32b10bf65a3d583b6886d2a2f3

Commit: cd8679e81a2d3c32b10bf65a3d583b6886d2a2f3

Tree: e909f9e45e70b2f43dd0e6f823b2e23040f5467f

Author: Ian Chamberlain

Committer: GitHub

## Message

```
Allow trailing commas in builtin JSONC schemas (#43854)

The JSON language server looks for a top-level `allowTrailingCommas`
flag to decide whether it should warn for trailing commas. Since the
JSONC parser for these builtin files can handles trailing commas, adding
this flag to the schema also prevents a warning for those commas.

I don't think there's an issue that is only for this specific issue, but
it relates to *many* existing / older issues:
- #18509
- #17487
- #40970
- #18509
- #21303

Release Notes:

- Suppress warning for trailing commas in builtin JSON files
(`settings.json`, `keymap.json`, etc.)
```

## Parents

- [43f977c6b92411b82c757d1b168e72937b8d416a](https://git.cafe/gitcafe/zed/commit/43f977c6b92411b82c757d1b168e72937b8d416a?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/cd8679e81a2d3c32b10bf65a3d583b6886d2a2f3?format=markdown)
