KT.ENUM_NAMING

Enum name does not follow the specified naming convention

Reports enum names that do not follow the specified naming convention.

Options

  • enumEntryPattern (default: [A-Z][_a-zA-Z0-9]*)

    naming pattern

The content on this page is adapted from the Detekt Docs. Copyright ©2022 The Detekt Team. All rights reserved. https://detekt.dev/comments.html