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

Fix rendering of VSCode / TypeScript JSON files in GitHub's web view #43

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

freshgum-bubbles
Copy link

Tell GitHub to render tsconfig.json files in the web view as JSON With Comments.

This was something I discovered while working on a project.

Support is also added for separate tsconfig.*.json files, which seem to be rather popular for using different values for different scenarios / environments.
Happy to remove this if it doesn't align with the project goals.

Tell GitHub to render `tsconfig.json` files in the web view
as JSON With Comments.

This was something I discovered [while working on a project](https://github.com/freshgum-bubbles/typedi/blob/develop/tsconfig.typedoc.json).

Support is also added for separate `tsconfig.*.json` files,
which seem to be rather popular for using different values
for different scenarios / environments.
Happy to remove this if it doesn't align with the project goals.
freshgum-bubbles added a commit to freshgum-bubbles/typedi that referenced this pull request Oct 9, 2023
This is in-line with a pull request also made to
a TypeScript starter template project, as seen below:
<stemmlerjs/simple-typescript-starter#43>
@freshgum-bubbles freshgum-bubbles changed the title Fix rendering of tsconfig.json files in GitHub's web view Fix rendering of VSCode / TypeScript JSON files in GitHub's web view Oct 9, 2023
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.

None yet

1 participant