mirror of
https://github.com/gravitational/teleport
synced 2024-10-21 01:34:01 +00:00
Enable new linters: ineffassign
, unconvert
, misspell
All findings have been fixed and `make lint` returns no errors.
This commit is contained in:
parent
3f98c1bc23
commit
a7c1a8c065
2
Makefile
2
Makefile
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue