[X] Snapshot documentation in case documentation is to be released together with a code change
[ ] Release documentation in case documentation is related to a released version of ktlint and has to be published as soon as the change is merged to master
Description
This property allows enum entry names to be restricted to:
upper_cases
: an enum entry may only contain uppercases, and underscores, and digits, and dicritics on letters and strokescamel_cases
: an enum entry may only contain CamelCase values, including digits, and dicritics on letters and strokes)upper_or_camel_case
: allows both theupper_cases
andcamel_cases
styles as defined in the Kotlin Coding ConventionsCloses #2835
Checklist
Before submitting the PR, please check following (checks which are not relevant may be ignored):
Closes #<xxx>
orFixes #<xxx>
(replace<xxx>
with issue number)Documentation is updated. See difference between snapshot and release documentation