mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-12 11:15:14 +02:00
Merge pull request #56 from davad/master
Exclude vendor folder from linter
This commit is contained in:
commit
4c272b4f6e
@ -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…
Reference in New Issue
Block a user