Merge branch 'hotfix/21.56.9' into master
[gitter.git] / build-scripts / upgrade-eslint-deps.sh
blobb43100cd83e988d5a56386504ab42fcb952adaea
1 #!/usr/bin/env bash
3 set -euo pipefail
4 IFS=$'\n\t'
6 set -x
8 MODULES=$(jq -r '.devDependencies|keys|.[]' package.json |grep eslint)
9 for i in $MODULES; do
10 npm rm $i;
11 done
13 for i in $MODULES; do
14 npm i $i@latest --save-dev
15 done