diff --git a/Makefile b/Makefile index ade733158..e8fd7dc81 100644 --- a/Makefile +++ b/Makefile @@ -78,9 +78,9 @@ fmt: @echo "gofmt (simplify)" @gofmt -s -l -w $(FILES) 2>&1 | $(FAIL_ON_STDOUT) -lint:tools/bin/revive +lint: @echo "linting" - @tools/bin/revive -formatter friendly -config tools/check/revive.toml $(FILES) + $(GO) run github.com/mgechev/revive@v1.2.5 -formatter friendly -config tools/check/revive.toml $(FILES) vet: @echo "vet" @@ -103,18 +103,9 @@ else grep -F '