From 07ebcff87e0afd78d74fe222e8035b86ad62c6ba Mon Sep 17 00:00:00 2001 From: Tom Wilkie Date: Mon, 22 Feb 2016 14:10:04 +0000 Subject: [PATCH] Update to ignore node_modules and *.generated.go --- lint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lint b/lint index 05adb45c6..22db070c0 100755 --- a/lint +++ b/lint @@ -148,7 +148,7 @@ function lint_files { function list_files { if [ $# -gt 0 ]; then - find "$@" -type f | grep -vE '(^\./\.git|^\./\.pkg|/vendor/|codecgen.go$)' + find "$@" -type f | grep -vE '(^\./\.git|^\./\.pkg|/vendor/|/node_modules/|\.codecgen\.go$|\.generated\.go$)' else git diff --cached --name-only fi