Skip to content

Allow configuration files to use extension .jsonc #191988

@brettrowberry

Description

@brettrowberry

VS Code allows workspace configuration via JSON files in the .vscode directory, e.g. settings.json, extensions.json, tasks.json, etc. GitHub Linguist treats them as JSON for syntax highlighting. This leads people to believe that comments aren't allowed in these files, but they are.

I propose allowing these files to use the extension .jsonc, in addition to or instead of .json.

See github-linguist/linguist#6533 for context.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions