Skip to content

Commit

Permalink
vet: allow golint to run on generated protos (grpc#4220)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfawley authored Feb 23, 2021
1 parent 26c143b commit 25cf939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ go list -f {{.Dir}} ./... | xargs go run test/go_vet/vet.go
# - gofmt, goimports, golint (with exceptions for generated code), go vet.
gofmt -s -d -l . 2>&1 | fail_on_output
goimports -l . 2>&1 | not grep -vE "\.pb\.go"
golint ./... 2>&1 | not grep -vE "\.pb\.go:"
golint ./... 2>&1 | not grep -vE "/testv3\.pb\.go:"
go vet -all ./...

misspell -error .
Expand Down

0 comments on commit 25cf939

Please sign in to comment.