You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 4, 2022. It is now read-only.
Prototool linter complains about the use of the word DATA even when it is an enum's name substring. For example:
enum City {
CITY_INVALID = 0;
CITY_ADATAS = 1;
}
When I run the linter it prints the following message:
example.proto:5:3:The name "CITY_ADATAS" contains the outlawed name "data". Data is a decorator and all types on Protobuf are data, consider merging this information into a higher-level type, or if you must have such a type, Use "Info" instead..
I can ignore the rule for the whole file that contains the enum but it seems too drastic. Couldn't the linter ignore cases where "data" is in the middle of another word?