diff --git a/.eslintignore b/.eslintignore index 70fa045e816539292b653dad3df26c6f68b99be0..a23a719183b179605a5c10c43e00fb81b253ff91 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,2 +1,3 @@ !.eslintrc.js src/vendor/* +scripts/bot/node_modules/ diff --git a/scripts/check-yarn-lock.sh b/scripts/check-yarn-lock.sh index e27b56ab47bc9746933266a02f0c30b7a7b9c6e1..836bccabbb00142d7578eb6870aa79bacf8baf9a 100755 --- a/scripts/check-yarn-lock.sh +++ b/scripts/check-yarn-lock.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -if [ `git diff yarn.lock | wc -l` -ne 0 ]; then +if [ `git diff '**/yarn.lock' | wc -l` -ne 0 ]; then echo "" tput setaf 1 echo "!! UNCOMMITED YARN.LOCK CHANGES !!"