diff --git a/editors/emacs/README.md b/editors/emacs/README.md index 66420c12..59cc1a53 100644 --- a/editors/emacs/README.md +++ b/editors/emacs/README.md @@ -16,3 +16,12 @@ If you don't use `js-mode`, which is what Prettier targets by default, you'll ne (lambda () (add-hook 'before-save-hook 'prettier-before-save))) ``` + +To adjust the CLI args used for the prettier command, you can customize the `prettier-args` variable: + +```elisp +(setq prettier-args '( + "--trailing-comma" "all" + "--bracket-spacing" "false" +)) +```