Closed liveFreeOrCode closed 7 months ago
Do I have to store all of the googleapis I use locally?
Simply, yes, less simply, download only those protos from googleapis that you make use of. This is what protobuf
dictates for imports: https://protobuf.dev/programming-guides/proto3/#importing
Then in use the linter include flag (-I, --proto-path
, mirror's protoc
's own flags for the same purpose) to include it in the execution.
When I try to lint my files that contain lines like this:
When trying to run the linter, I get this error:
How are people solving for this? Do I have to store all of the googleapis I use locally? Any recommendations for how to manage this dependency?