Closed rocketraman closed 9 months ago
I can not reproduce this with ktlint CLI (0.49.1
, 0.50.0
, '1.0.1`). I have no knowledge of Detekt. So I do not know how Detekts invokes ktlint. As long as it can not be reproduced with CLI, I can not be of help.
(From https://github.com/detekt/detekt/issues/6615)
Expected Behavior
I have a class like this:
This should not report any error from
NoSemicolons
, because the;
here is necessary.My detekt configuration I have
Observed Behavior
The
NoSemicolons
rule is triggered with detekt 1.23.3. It is not triggered with detekt 1.22.0.Your Environment
.editorconfig
settings: N/ALinux edison 6.5.9-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 25 20:40:49 UTC 2023 x86_64 GNU/Linux