Skip to content

Make GitHub render json as jsonc #52335

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 20, 2023

Conversation

jakebailey
Copy link
Member

I'm a bit tired of diffs in json files looking like this:

image

Just tell GitHub to treat JSON files as JSONC. (Copied from https://github.com/microsoft/vscode/blob/main/.gitattributes)

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Jan 20, 2023
@jakebailey jakebailey merged commit 81d0434 into microsoft:main Jan 20, 2023
@jakebailey jakebailey deleted the gitattributes-json branch January 20, 2023 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants