diff --git a/Makefile b/Makefile index fadb254a5e..64afbe7fb4 100644 --- a/Makefile +++ b/Makefile @@ -78,3 +78,10 @@ quicktemplate-gen: install-qtc install-qtc: which qtc || GO111MODULE=off go get -u github.com/valyala/quicktemplate/qtc + + +golangci-lint: install-golangci-lint + golangci-lint run + +install-golangci-lint: + which golangci-lint || GO111MODULE=off go get -u github.com/golangci/golangci-lint/cmd/golangci-lint