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

Add jsonc to package.json keywords #45

Merged
merged 1 commit into from Jul 12, 2020

Conversation

dtinth
Copy link
Contributor

@dtinth dtinth commented Jul 10, 2020

jsonc is a mode name in Visual Studio Code, referring to JSON with Comments.

See: https://code.visualstudio.com/docs/languages/json#_json-with-comments

GitHub’s Markdown also supports ```jsonc syntax, which highlights code like JSON, but without red markings on comments.

{ /* json */ }
{ /* jsonc */ }

While looking for a module to parse jsonc, at first I could not find a suitable library. Then I searched npm for JSON comments, then found this module. I think adding jsonc to keywords would help with discoverability.

Note: This is not related to Jsonc proposal.

jsonc is a mode name in Visual Studio Code, referring to JSON with Comments.

Not related to Jsonc proposal.
@sindresorhus sindresorhus changed the title Add jsonc to keywords Add jsonc to package.json keywords Jul 12, 2020
@sindresorhus sindresorhus merged commit 60d2039 into sindresorhus:master Jul 12, 2020
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

2 participants