From 38b9c07ab7b7a50b293dda3ad3f4721682871a20 Mon Sep 17 00:00:00 2001 From: Enrico Stahn Date: Sun, 25 Feb 2018 11:20:36 +1100 Subject: [PATCH] Enable only some linters --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index dcfde49..51909d3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,7 +23,7 @@ jobs: - run: curl -L -s https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64 -o /go/bin/dep && chmod +x /go/bin/dep - run: dep ensure -vendor-only - run: curl -L -s https://github.com/alecthomas/gometalinter/releases/download/v2.0.5/gometalinter-2.0.5-linux-amd64.tar.gz | tar xvfz - -C /go/bin/ --strip 1 - - run: gometalinter ./... + - run: gometalinter --disable-all --enable=errcheck --enable=vet --enable=vetshadow ./... deploy: <<: *defaults