Skip to content

make devcontainer.json valid json #42

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

daemonfire300
Copy link

Even though this is just an example it should be valid json. This can confuse unexperienced developers.

Even though this is just an example it should be valid json. This can confuse unexperienced developers.
@hudsonm62
Copy link

hudsonm62 commented Feb 15, 2025

whats not valid about it?

edit: devcontainer.json supports comments - Are you using VSCode with the Dev Containers extension?

@daemonfire300
Copy link
Author

For example, https://go.dev/play/p/iy_oG94cKpJ will fail to parse the JSON.

The file is just not valid JSON. Basic JSON does not allow comments.

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