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:
parent
12889b7b1f
commit
ffb0fef70e
@ -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/... ./...
|
||||
|
2
Makefile
2
Makefile
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user