The integrated platform for monitoring & security
Observability
End-to-end, simplified visibility into your stack’s health & performance
インフラ
Applications
ログ
セキュリティ
Detect, prioritize, and respond to threats in real-time
Code Security
Cloud Security
Threat Management
Digital Experience
Optimize front-end performance and enhance user experiences
Related Products
Software Delivery
Build, test, secure and ship quality code faster
Service Management
Integrated, streamlined workflows for faster time-to-resolution
AIOps
AI
Monitor and improve model performance. Pinpoint root causes and detect anomalies
AI Observability
Platform Capabilities
Built-in features & integrations that power the Datadog platform
Built-in Features
Workflows & Collaboration
Extensibility
Industry
テクノロジー
Use-case
Looking for Datadog logos?
You can find the logo assets on our press page.
ID: kotlin-code-style/enum-wrapping
kotlin-code-style/enum-wrapping
Language: Kotlin
Severity: Notice
Category: Code Style
An enum should be a single line, or each enum entry has to be placed on a separate line. In case the enumeration contains enum entries and declarations those are to be separated by a blank line.
enum class Foo { A, B, C, D } enum class Foo { A; fun foo() = "foo" }
enum class Foo { A, B, C, D } enum class Foo { A, B, C, D } enum class Foo { A, B, C, D, ; fun foo() = "foo" }
Seamless integrations. Try Datadog Code Security
1 2
rulesets: - kotlin-code-style # Rules to enforce Kotlin code style.
For more information, please read the Code Security documentation
Identify code vulnerabilities directly in yourVS Code editor
Identify code vulnerabilities directly inJetBrains products