mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/javascript: add eslint to bootstrap
This commit is contained in:
@ -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))
|
||||||
|
Reference in New Issue
Block a user