repo.or.cz
/
gitter.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Gitter migration: Setup redirects (rollout pt. 3)
[gitter.git]
/
build-scripts
/
install-eslint-globals.sh
blob
d43c9f9ec1ef054128dd2ca115aa6591140a0641
1
#!/usr/bin/env bash
2
3
set -euo
pipefail
4
IFS
=
$
'
\n\t
'
5
6
SCRIPT_DIR
=
"$( cd "
$
(
dirname
"
${BASH_SOURCE[0]}
"
)
" && pwd )"
7
8
for
i
in
$
(
node
${SCRIPT_DIR}
/
find-eslint-dependencies.js
);
do
9
npm
rm
-g
${i}
10
done
11
12
for
i
in
$
(
node
${SCRIPT_DIR}
/
find-eslint-dependencies.js
--semver
);
do
13
npm i
-g
${i}
14
done