1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-08-15 20:02:56 +02:00

Swap golint for revive

This commit is contained in:
David Landry
2018-10-05 18:59:42 -04:00
parent 737016dcd2
commit 0d43a37880

View File

@@ -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}/...
go vet ${DIR_CLI}/... ${DIR_PKG}/...