Questions tagged [diktat]

1 questions
1
vote
0 answers

How can I enforce my code conventions on line breaks in Kotlin?

Is there any formatting options available in either ktlint, ktfmt, diktat, prettier or other linter that can help me achieve this (see below)? This is the format that I desire (rewritten for this purpose, focus on formatting - not the logic): fun…
Alix
  • 2,630
  • 30
  • 72