diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2022-01-24 11:56:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-24 11:56:19 +0100 |
| commit | b2018a88d1b27356a1d6126f3de8fe5fa79bf69d (patch) | |
| tree | af73ca54646470c77a17bc6a384e018e014c89c8 | |
| parent | 1f15d50aace578a63433a2b60c18ceb73dfa6230 (diff) | |
| parent | 7cf8f14752ae0d0bb8205c0815c79cf59a597ca3 (diff) | |
Merge pull request #816 from return42/fix-emacs
[emacs] flycheck should use the eslint checker from developer tools
| -rw-r--r-- | .dir-locals.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el index 419311ee7..13145010c 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -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) )))) |