lang/javascript: add eslint to bootstrap

This commit is contained in:
Henrik Lissner 2017-03-25 16:42:07 -04:00
parent b1ec00228b
commit 97d96ed753

View file

@ -18,7 +18,7 @@
;; ;;
(def-bootstrap! javascript (def-bootstrap! javascript
(unless (cl-every 'executable-find '("node" "npm" "tern" "js-beautify")) (unless (cl-every 'executable-find '("node" "npm" "tern" "js-beautify" "eslint"))
(pcase (doom-system-os) (pcase (doom-system-os)
('arch ('arch
(let (progs) (let (progs)
@ -36,4 +36,6 @@
(sh "npm -g install tern")) (sh "npm -g install tern"))
(unless (executable-find "js-beautify") (unless (executable-find "js-beautify")
(sh "npm -g install js-beautify")) (sh "npm -g install js-beautify"))
(unless (executable-find "eslint")
(sh "npm -g install eslint eslint-plugin-react"))
t)) t))