-
Notifications
You must be signed in to change notification settings - Fork 9.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate proto linter #6376
Comments
Yes please! Make sure you find one that enforces proto linting rules + a max line width + indention checking! |
I don't like how it removes newlines between fields. Don't see a way to disable that. |
I found this issue while making https://github.com/yoheimuta/protolint. This linter enforces proto linting official style guide, a max line length and a consistent indentation style. I was interested about whether it could works for this project, I tried protolint under #6374 situation.
This project needs the config file named # Lint directives.
lint:
# Linter rules.
# Run `pl list` to see all available rules.
rules:
# The specific linters to remove.
remove:
- ENUM_FIELD_NAMES_UPPER_SNAKE_CASE
# Linter rules option.
rules_option:
# INDENT rule option.
indent:
# Available styles are 4(4-spaces), 2(2-spaces) or tab.
style: 2 If it's fine, how about integrating the protolint? |
Thanks very much for the heads up @yoheimuta Looks like we don't need to try this out anymore. Cheers |
See #6374 (comment).
The text was updated successfully, but these errors were encountered: