Enforce enum entry line wrapping

Metadata

ID: kotlin-code-style/enum-wrapping

Language: Kotlin

Severity: Notice

Category: Code Style

Description

No description found

Non-Compliant Code Examples

enum class Foo {
    A,
    B, C,
    D
}

Compliant Code Examples

enum class Foo { A, B, C, D }

enum class Foo { 
    A, 
    B,
    C, 
    D 
}
https://static.datadoghq.com/static/images/logos/github_avatar.svg https://static.datadoghq.com/static/images/logos/vscode_avatar.svg jetbrains

Seamless integrations. Try Datadog Code Analysis