lang/javascript: add eslint to bootstrap
This commit is contained in:
parent
b1ec00228b
commit
97d96ed753
1 changed files with 3 additions and 1 deletions
|
@ -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))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue