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:
8
Makefile
8
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}/...
|
||||
go vet ${DIR_CLI}/... ${DIR_PKG}/...
|
||||
|
Reference in New Issue
Block a user