Replies: 2 comments
-
Not currently, but custom lint rules is something being investigated. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The prefixes are important for C++. Otherwise you can not use more than one enum there. So you only have to type it in the proto. And AI hopefully help soon if you feed it with enough enums that follow the style guide :D |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There is the existing
ENUM_VALUE_PREFIX
lint, which works just fine. However, sometimes, the enum name is simply long. Would it be possible to designate an alternate prefix?Say, we have an
enum CurrentDevice
- that's a bit long to type every single time, especially if the values themselves are already long. I'd like to require that every value in the enum starts with the prefixCDEV_
.Is it currently possible, and if not, can it be implemented?
Beta Was this translation helpful? Give feedback.
All reactions