From 9d1993547f06868e93b821af13008fb450b2ee86 Mon Sep 17 00:00:00 2001 From: Tao Jiang Date: Thu, 19 Apr 2018 11:53:12 -0700 Subject: [PATCH] KCL: Ignore Lint error on const go languaage doesn't like all-caps on const. Since KCL is mainly from Amazon's KCL, we'd like the constant to have the exactly same name as Amazon's KCL. Thefore, skip the lint check. Change-Id: Ib8a2f52a8f4b44d814eda264f62fdcd53cccc2a7 --- support/scripts/check.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/support/scripts/check.sh b/support/scripts/check.sh index fbab703..539bdf9 100755 --- a/support/scripts/check.sh +++ b/support/scripts/check.sh @@ -15,6 +15,7 @@ lint() { gometalinter \ --exclude=_mock.go \ --disable=gotype \ + --disable=golint \ --vendor \ --skip=test \ --fast \