Replies: 1 comment
-
Not currently, but custom lint rules is something being investigated. |
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