camacho/format-package

`prettier.format` requires `{parser: json}` option

Closed this issue · 3 comments

vjpr commented

So you have to pass in {parser: 'json} to prettier.format.

Should update the readme to indicate this.

would you be willing to put up a PR with update docs? i'll gladly review

vjpr commented

Done. #23