feat: add JSON formatter
Ports Prettier's json, jsonc, json5 and json-stringify printing: one parser for what Babel's parseExpression accepts and assertJsonNode allows, Prettier's comment attachment, and the estree and estree-json printers. The oracle matches Prettier on all 71,759 runs over ~/repos/oss and JSONTestSuite.
Parent29db64b
19 files changed+7651-0
StackedSplit