chore: switch to golangci-lint

This commit is contained in:
Manfred Touron
2019-01-20 06:58:14 +01:00
parent 36f4177b68
commit c41132a4f6
6 changed files with 45 additions and 6 deletions

View File

@@ -33,4 +33,4 @@ docker.push: docker.build
.PHONY: lint
lint:
gometalinter --disable-all --enable=errcheck --enable=vet --enable=vetshadow --enable=golint --enable=gosec --enable=ineffassign --enable=goconst --enable=goimports --enable=gofmt --exclude="Binds to all network interfaces" --exclude="should have comment" --enable=staticcheck --enable=gosimple --enable=misspell --deadline=120s . ./cmd/... ./helpers/...
golangci-lint run --verbose . ./helpers ./cmd/...