From 0d43a37880719dbcf75365de3fa7c0ddcd0a31e6 Mon Sep 17 00:00:00 2001 From: David Landry Date: Fri, 5 Oct 2018 18:59:42 -0400 Subject: [PATCH] Swap golint for revive --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 923a6d52..c1af62b8 100644 --- a/Makefile +++ b/Makefile @@ -32,12 +32,12 @@ doc: fmt: go fmt ${DIR_CLI}/... ${DIR_PKG}/... -# https://github.com/golang/lint -# go get github.com/golang/lint/golint +# https://github.com/mgechev/revive +# go get github.com/mgechev/revive lint: - golint ${DIR_CLI}/... ${DIR_PKG}/... + revive -config ../revive.toml -formatter friendly -exclude ./pkg/parser/fql/... ./... # http://godoc.org/code.google.com/p/go.tools/cmd/vet # go get code.google.com/p/go.tools/cmd/vet vet: - go vet ${DIR_CLI}/... ${DIR_PKG}/... \ No newline at end of file + go vet ${DIR_CLI}/... ${DIR_PKG}/...