Enable new linters: ineffassign, unconvert, misspell

All findings have been fixed and `make lint` returns no errors.
This commit is contained in:
Andrew Lytvynov 2020-05-06 10:17:28 -07:00 committed by Andrew Lytvynov
parent 3f98c1bc23
commit a7c1a8c065

View file

@ -25,7 +25,7 @@ TELEPORT_DEBUG ?= no
GITTAG=v$(VERSION)
BUILDFLAGS ?= $(ADDFLAGS) -ldflags '-w -s'
CGOFLAG ?= CGO_ENABLED=1
GO_LINTERS ?= "unused,govet,typecheck,deadcode,goimports,varcheck,structcheck,bodyclose,staticcheck"
GO_LINTERS ?= "unused,govet,typecheck,deadcode,goimports,varcheck,structcheck,bodyclose,staticcheck,ineffassign,unconvert,misspell"
OS ?= $(shell go env GOOS)
ARCH ?= $(shell go env GOARCH)