Describe the bug
OSI violates several Protobuf Style Guide rules, see Style Guide
- File Structure
imports are listed before package name
imports are not sorted
options are listed before package name and imports
- Enums
zero values do not use the suffix UNSPECIFIED
Expected
Follow the Style Guide and explicitly list exceptions as it is done here:
"OSI uses singular instead of plural for repeated field names."
Provide a protolint config file, use protolint in CI.
---
lint:
rules:
remove:
- REPEATED_FIELD_NAMES_PLURALIZED
rules_option:
enum_field_names_zero_value_end_with:
suffix: UNKNOWN
indent:
style: 4
max_line_length:
max_chars: 120
tab_chars: 4
Regards,
Martin
Martin Stump martin.stump@mercedes-benz.com on behalf of MBition GmbH, Provider Information
Describe the bug
OSI violates several Protobuf Style Guide rules, see Style Guide
imports are listed before package name
imports are not sorted
options are listed before package name and imports
zero values do not use the suffix
UNSPECIFIEDExpected
Follow the Style Guide and explicitly list exceptions as it is done here:
Provide a protolint config file, use protolint in CI.
Regards,
Martin
Martin Stump martin.stump@mercedes-benz.com on behalf of MBition GmbH, Provider Information