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
I haven't found how to enforce enum names though (e.g. I'd like all the enum names to be camel case with the first uppercase letter). I wonder if I've missed something or simply it's not implemented yet.
For enum constants, it's OK to use either uppercase underscore-separated names (enum class Color { RED, GREEN }) or regular camel-case names starting with an uppercase first letter, depending on the usage.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
@yukukotani I noticed that the implemented rule follows the coding conventions, allowing either of the two options (screaming snake, upper camel); out of interest, would it be possible to configure it to choose one of the two as allowed (within a project) for consistency?
Hi and thanks for this awesome tool!
I haven't found how to enforce enum names though (e.g. I'd like all the enum names to be camel case with the first uppercase letter). I wonder if I've missed something or simply it's not implemented yet.
From: https://kotlinlang.org/docs/reference/coding-conventions.html#property-names
Thanks in advance!
The text was updated successfully, but these errors were encountered: