Skip to content

feat: allow trailing commas in config schema - #583

Merged
Tarquinen merged 1 commit into
Opencode-DCP:devfrom
marmitar:allow-trailing-comma-in-schema
Aug 16, 2026
Merged

feat: allow trailing commas in config schema#583
Tarquinen merged 1 commit into
Opencode-DCP:devfrom
marmitar:allow-trailing-comma-in-schema

Conversation

@marmitar

@marmitar marmitar commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Uses extension defined in vscode-json-languageservice. Also works with Zed and probably other editors too.

Already understood by DCP with

const parsed = parse(fileContent, undefined, { allowTrailingComma: true })

Uses extension defined in [vscode-json-languageservice][vscode-json].
Also works with Zed and probably other editors too.

[vscode-json]: https://github.com/microsoft/vscode-json-languageservice/blob/5d87d160f018533c4eb3b996b54252f900a1e062/src/jsonSchema.ts#L89
@Tarquinen
Tarquinen changed the base branch from master to dev August 16, 2026 03:42
@Tarquinen
Tarquinen merged commit e80a065 into Opencode-DCP:dev Aug 16, 2026
@marmitar
marmitar deleted the allow-trailing-comma-in-schema branch August 16, 2026 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants