KEMBAR78
Add `jsonc` to package.json keywords by dtinth · Pull Request #45 · sindresorhus/strip-json-comments · GitHub
Skip to content

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.

2 participants