`prettier.format` requires `{parser: json}` option
Closed this issue · 3 comments
vjpr commented
I couldn't get this working: https://github.com/camacho/format-package#formatter
vjpr commented
So you have to pass in {parser: 'json}
to prettier.format
.
Should update the readme to indicate this.
camacho commented
would you be willing to put up a PR with update docs? i'll gladly review