Visitar URL original
Make GitHub render json as jsonc by jakebailey · Pull Request #52335 · microsoft/TypeScript · GitHub
The Wayback Machine - https://web.archive.org/web/20230607071700/https://github.com/microsoft/TypeScript/pull/52335
Skip to content
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

Make GitHub render json as jsonc #52335

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
18 checks passed
@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.

None yet

3 participants