Exclude ALL_CAPS warnings from linter

This commit is contained in:
Adam Harrison
2016-02-10 10:33:16 +00:00
parent 954b023392
commit cbb0567cd4

2
lint
View File

@@ -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