DevTools/CodingStandards: Difference between revisions

update elisp code to reflect new eslint path
(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
      "testing/eslint/node_modules/.bin/eslint" base-dir)))
      "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))))))
10

edits