Skip to content

Commit

Permalink
Merge commit '930b53f5459567d79c927951168f3fc73f1c5cd0' into update-t…
Browse files Browse the repository at this point in the history
…ools-subtree
  • Loading branch information
tomwilkie committed Feb 22, 2016
2 parents ea90c19 + 930b53f commit 475521c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/lint
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function lint_go {
if [ -z "$IGNORE_LINT_COMMENT" ]; then
lintoutput=$(golint "${filename}")
else
lintoutput=$(golint "${filename}" | grep -vE 'comment|dot imports')
lintoutput=$(golint "${filename}" | grep -vE 'comment|dot imports|ALL_CAPS')
fi
if [ -n "$lintoutput" ]; then
lint_result=1
Expand Down Expand Up @@ -148,7 +148,7 @@ function lint_files {

function list_files {
if [ $# -gt 0 ]; then
find "$@" -type f | grep -vE '(^\./\.git|^\./\.pkg|/vendor/)'
find "$@" -type f | grep -vE '(^\./\.git|^\./\.pkg|/vendor/|/node_modules/|\.codecgen\.go$|\.generated\.go$)'
else
git diff --cached --name-only
fi
Expand Down

0 comments on commit 475521c

Please sign in to comment.