There are a lot of json variations and I don't think it would be worthwhile to duplicate them all. But as a practical manner for lint, comments are pretty common in config files. It would be nice if ArcanistJSONLinter had an option to allow them.
Description
Description
Related Objects
Related Objects
- Mentioned Here
- T5297: Create a native JSON parser.
Event Timeline
Comment Actions
This has come up for discussion before, although I can't remember when/where. Generally, I'm onboard with it.
Comment Actions
Seems weird, primarily due to lack of standardization. Would // and # both work? Or only one of them? The decision winds up being kind of arbitrary.
Some crazier options could even include /* */, ;, --, etc.