aboutsummaryrefslogtreecommitdiff
path: root/apheleia-formatters.el
diff options
context:
space:
mode:
Diffstat (limited to 'apheleia-formatters.el')
-rw-r--r--apheleia-formatters.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/apheleia-formatters.el b/apheleia-formatters.el
index ba3aad1..092b41e 100644
--- a/apheleia-formatters.el
+++ b/apheleia-formatters.el
@@ -129,6 +129,10 @@
. ("apheleia-npx" "prettier" "--stdin-filepath" filepath
"--parser=json"
(apheleia-formatters-js-indent "--use-tabs" "--tab-width")))
+ (prettier-json-stringify
+ . ("apheleia-npx" "prettier" "--stdin-filepath" filepath
+ "--parser=json-stringify"
+ (apheleia-formatters-js-indent "--use-tabs" "--tab-width")))
(prettier-markdown
. ("apheleia-npx" "prettier" "--stdin-filepath" filepath
"--parser=markdown"