Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit b2018a88 authored by Markus Heiser's avatar Markus Heiser Committed by GitHub
Browse files

Merge pull request #816 from return42/fix-emacs

[emacs] flycheck should use the eslint checker from developer tools
parents 1f15d50a 7cf8f147
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -103,6 +103,10 @@
               ;; use nodejs from the (local) NVM environment (see nvm-dir)
               (nvm-use-for-buffer)
               (setq-local js-indent-level 2)
               ;; flycheck should use the eslint checker from developer tools
               (setq-local flycheck-javascript-eslint-executable
                           (expand-file-name "node_modules/.bin/eslint" prj-root))

               (flycheck-mode)
               ))))