From 97a3bd770e7d6fc2126d55dde2aa5f9d01da9e24 Mon Sep 17 00:00:00 2001
From: Brian Peiris <brianpeiris@gmail.com>
Date: Wed, 9 May 2018 21:19:08 -0700
Subject: [PATCH] update linters

---
 .eslintignore              | 1 +
 scripts/check-yarn-lock.sh | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.eslintignore b/.eslintignore
index 70fa045e8..a23a71918 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 e27b56ab4..836bccabb 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 !!"
-- 
GitLab