add linting

This commit is contained in:
sneak committed 2019-11-07 12:49:35 -08:00
1 parent 12913cc4ff
commit 091d2b3f44
3 files changed
+31 -3

No files matched your search

+5
View File
@@ -42,6 +42,11 @@ clean:
fmt:
go fmt *.go
lint:
go get -u github.com/mgechev/revive
revive -config .revive.toml -exclude=./vendor/... ./... || exit 1
test: build-docker-image
dist: build-docker-image