diff --git a/CHANGELOG.md b/CHANGELOG.md index 91efefba..813263d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,8 +14,10 @@ The format is based on [Keep a Changelog]. ### Formatters * [purs-tidy](https://github.com/natefaubion/purescript-tidy) for PureScript ([#182]). +* `prettier-json-stringify`, the parser prettier uses for `package.json` files ([#183]). [#182]: https://github.com/radian-software/apheleia/pull/182 +[#183]: https://github.com/radian-software/apheleia/pull/183 ## 3.2 (released 2023-02-25) ### Features diff --git a/apheleia-formatters.el b/apheleia-formatters.el index 1e65ec95..31f06ba8 100644 --- a/apheleia-formatters.el +++ b/apheleia-formatters.el @@ -141,6 +141,8 @@ Otherwise return the extension only." . (npx "prettier" "--stdin-filepath" filepath "--parser=babel-flow")) (prettier-json . (npx "prettier" "--stdin-filepath" filepath "--parser=json")) + (prettier-json-stringify + . (npx "prettier" "--stdin-filepath" filepath "--parser=json-stringify")) (prettier-markdown . (npx "prettier" "--stdin-filepath" filepath "--parser=markdown")) (prettier-ruby