10
edits
(update example to reflect new install path) |
(update elisp code to reflect new eslint path) |
||
Line 86: | Line 86: | ||
(when base-dir | (when base-dir | ||
(let ((eslint (expand-file-name | (let ((eslint (expand-file-name | ||
" | "tools/lint/eslint/node_modules/.bin/eslint" base-dir))) | ||
(when (file-exists-p eslint) | (when (file-exists-p eslint) | ||
(setq-local flycheck-javascript-eslint-executable eslint)))))) | (setq-local flycheck-javascript-eslint-executable eslint)))))) |
edits