add linting

This commit is contained in:
2019-11-07 12:49:35 -08:00
parent 12913cc4ff
commit 091d2b3f44
3 changed files with 31 additions and 3 deletions

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