-
Notifications
You must be signed in to change notification settings - Fork 165
Description
Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Is your feature request related to a problem? Please describe.
The linter receives one or more proto files as input for execution. In our setup, we group all our proto files under a directory tree. The development experience would be better if we could pass the root directory name and the linter finds all proto files under its tree.
proto/
- dir1/
- api1.proto
- api2.proto
- dir2/
- api3.proto
- root.proto
As of now, passing proto/ as input to the linter, errors with:
2025/02/25 13:12:12 read proto: is a directory
Describe the solution you'd like
The linter walks through the file system, finds the proto files and executes the linting logic on all of them.
Describe alternatives you've considered
As of now we have to use a shell combination by piping the output of find into the linter executable.