Emacs: Use eslint_d for flycheck, if installed
Alan Pearce alan@alanpearce.uk
Wed, 22 Feb 2017 11:43:01 +0100
1 files changed, 3 insertions(+), 1 deletions(-)
jump to
M tag-emacs/emacs.d/init.org → tag-emacs/emacs.d/init.org
@@ -1734,7 +1734,9 @@ :diminish " ✓" :defer 5 :config (progn (global-flycheck-mode) - (setq flycheck-check-syntax-automatically '(save new-line mode-enabled)))) + (setq flycheck-check-syntax-automatically '(save new-line mode-enabled)) + (if (executable-find "eslint_d") + (setq flycheck-javascript-eslint-executable (executable-find "eslint_d"))))) #+END_SRC ** golang