Closed dmitry-oshurkov closed 1 month ago
This behavior is intentional.
You disable the rule comment-wrapping
entirely in .editorconfig
by setting:
root = true
[*.{kt,kts}]
ktlint_standard_comment-wrapping = disabled
Or suppress statements like below:
@Suppress("ktlint:standard:comment-wrapping")
Rectangle(
/* x = */ (x1 * width).roundToInt(),
/* y = */ (y1 * height).roundToInt(),
/* width = */ ((x2 - x1) * width).roundToInt(),
/* height = */ ((y2 - y1) * height).roundToInt(),
)
Expected Behavior
Observed Behavior