diff --git a/Makefile b/Makefile index 0f21ea7319..a5031ad110 100644 --- a/Makefile +++ b/Makefile @@ -456,7 +456,7 @@ vet: ## Run mattermost go vet specific checks exit 1; \ fi; \ - $(GO) vet -vettool=$(GOPATH)/bin/mattermost-govet -license -structuredLogging ./... + $(GO) vet -vettool=$(GOPATH)/bin/mattermost-govet -license -structuredLogging -inconsistentReceiverName ./... ifeq ($(BUILD_ENTERPRISE_READY),true) ifneq ($(MM_NO_ENTERPRISE_LINT),true) $(GO) vet -vettool=$(GOPATH)/bin/mattermost-govet -enterpriseLicense -structuredLogging ./enterprise/...