Gitter migration: Setup redirects (rollout pt. 3)
[gitter.git] / build-scripts / install-eslint-globals.sh
blobd43c9f9ec1ef054128dd2ca115aa6591140a0641
1 #!/usr/bin/env bash
3 set -euo pipefail
4 IFS=$'\n\t'
6 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
8 for i in $(node ${SCRIPT_DIR}/find-eslint-dependencies.js); do
9 npm rm -g ${i}
10 done
12 for i in $(node ${SCRIPT_DIR}/find-eslint-dependencies.js --semver); do
13 npm i -g ${i}
14 done