1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-01-26 03:51:57 +02:00

Don't lint vendor folder

This commit is contained in:
David Landry 2018-10-05 20:56:15 -04:00
parent 12889b7b1f
commit ffb0fef70e
2 changed files with 2 additions and 2 deletions

View File

@ -28,4 +28,4 @@ before_install:
- export PATH=$PATH:$HOME/travis-bin
script:
- revive -config revive.toml -formatter friendly -exclude ./pkg/parser/fql/... ./...
- revive -config revive.toml -formatter friendly -exclude ./pkg/parser/fql/... -exclude ./vendor/... ./...

View File

@ -35,7 +35,7 @@ fmt:
# https://github.com/mgechev/revive
# go get github.com/mgechev/revive
lint:
revive -config revive.toml -formatter friendly -exclude ./pkg/parser/fql/... ./...
revive -config revive.toml -formatter friendly -exclude ./pkg/parser/fql/... -exclude ./vendor/... ./...
# http://godoc.org/code.google.com/p/go.tools/cmd/vet
# go get code.google.com/p/go.tools/cmd/vet