summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 5e7e72df0b..f007665e71 100644
--- a/Makefile
+++ b/Makefile
@@ -128,10 +128,10 @@ errcheck:
.PHONY: lint
lint:
- @hash golint > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
- $(GO) get -u golang.org/x/lint/golint; \
+ @hash revive > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
+ $(GO) get -u github.com/mgechev/revive; \
fi
- for PKG in $(PACKAGES); do golint -set_exit_status $$PKG || exit 1; done;
+ revive -config .revive.toml -exclude=./vendor/... ./... || exit 1
.PHONY: misspell-check
misspell-check: