rstcheck / rstcheck-core

Core library behind rstcheck.
http://rstcheck-core.rtfd.io/
MIT License
4 stars 8 forks source link

[WIP] Add JSONc support #93

Open ml-evs opened 7 months ago

ml-evs commented 7 months ago

Check List

Resolves: #92.

This is still WIP as the case for handling inline comments is not covered (without breaking when e.g., // is used inside a key or value).

I'm also having a hard time finding a well-defined standard. https://komkom.github.io/jsonc/ provides some example for Go, and VSCode uses something pretty similar: https://code.visualstudio.com/docs/languages/json#_json-with-comments -- so the question how useful this really is depends on how widespread its usage is.