Conversation
Add support for identifying jsonc files by extension.
|
afaik this isn't a standardized format or extension (does it include commas? does it include single quotes?) so we can't accept an extension for it |
|
JSONC is a superset of JSON which supports comments, it's commonly used by tools like Visual Studio Code. You can some more details here: It's also supported by prettier, and I noticed the lack of support while doing a PR for schemastore you can see the comment here which currently prevents it from using prettier to check jsonc files as far as I can tell. Hope this helps, do you need any more information? |
|
the usage of the extension predates that "standard" |
|
Is there a way to implement it such that we can get it added? |
|
you don't need identify support to use things in pre-commit -- you can always use |
|
Thanks for the info, I'll take a look. |
Add support for identifying jsonc files by extension.