exclude externs from lint
authorDan Vanderkam <dan@dygraphs.com>
Sat, 24 Nov 2012 04:04:17 +0000 (23:04 -0500)
committerDan Vanderkam <dan@dygraphs.com>
Sat, 24 Nov 2012 04:04:17 +0000 (23:04 -0500)
lint.sh

diff --git a/lint.sh b/lint.sh
index c316a72..a45d901 100755 (executable)
--- a/lint.sh
+++ b/lint.sh
@@ -19,7 +19,7 @@ if [ $# -gt 1 ]; then
 fi
 
 if [ $# -eq 0 ]; then
-  files=$(ls dygraph*.js plugins/*.js | grep -v combined | grep -v dev.js)
+  files=$(ls dygraph*.js plugins/*.js | grep -v combined | grep -v dev.js| grep -v externs)
 else
   files=$1
 fi