From c0a57e165a7ec2248120b2dd81c06d2039972c5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fred=20Porci=C3=BAncula?= Date: Sat, 9 Mar 2024 11:01:36 +0100 Subject: [PATCH] Update NoEmptyClassBody.kt --- .../arturbosch/detekt/formatting/wrappers/NoEmptyClassBody.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/detekt-formatting/src/main/kotlin/io/gitlab/arturbosch/detekt/formatting/wrappers/NoEmptyClassBody.kt b/detekt-formatting/src/main/kotlin/io/gitlab/arturbosch/detekt/formatting/wrappers/NoEmptyClassBody.kt index b971212ab8bb..6705b70bbafb 100644 --- a/detekt-formatting/src/main/kotlin/io/gitlab/arturbosch/detekt/formatting/wrappers/NoEmptyClassBody.kt +++ b/detekt-formatting/src/main/kotlin/io/gitlab/arturbosch/detekt/formatting/wrappers/NoEmptyClassBody.kt @@ -8,6 +8,9 @@ import io.gitlab.arturbosch.detekt.formatting.FormattingRule /** * See [ktlint docs](https://pinterest.github.io/ktlint//rules/standard/#no-empty-class-bodies) for documentation. + * + * This rules overlaps with [empty-blocks>EmptyClassBlock](https://detekt.dev/empty-blocks.html#emptyclassblock) + * from the standard rules, make sure to enable just one. */ @ActiveByDefault(since = "1.0.0") @AutoCorrectable(since = "1.0.0")