summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 4fa1b1a..52f6747 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -2090,6 +2090,8 @@ With prefix TO-CURRENT-BUFFER, insert command output into buffer."
               (add-node-modules-path)
               (when (executable-find "eslint")
                 (setq flycheck-javascript-eslint-executable "eslint"))
+              (when (executable-find "prettier-standard")
+                (setq flycheck-javascript-standard-executable "prettier-standard"))
               (when (executable-find "standard")
                 (setq flycheck-javascript-standard-executable "standard")))))