Closed maksym-severyn closed 6 months ago
What would be the rationale behind this? As far as I know, the Kotlin Coding coventions and Android Kotlin style guide do not recommend this. Neither is it a commonly accepted practice.
You can always create a custom rule when it is important to you. But at this moment, I do not any reason to add this to Ktlint.
Expected Rule behavior
Is it possible to add rule provides empty line between properties with annotations?
Currently, I found the rule with similar behavior, but appeals to declarations (https://pinterest.github.io/ktlint/1.1.1/rules/standard/#blank-line-between-declarations-with-annotations).
My expectation is:
Current behavior:
Used
.editorconfig
Additional information
ktlint version 1.1.1 ktlint-gradle 12.1.0 gradle 8.5