github pinterest/ktlint 1.8.0

12 hours ago

🆕 Features

  • Set languageVersion to KOTLIN_2_0 to ensure metadata compatibility with Kotlin 2.0 - #3110, by @hugoncosta

  • Simplify creation of a custom ruleset - #3118, by @paul-dingemans

  • Add rule then-spacing - #3129, by @paul-dingemans

  • Add CLI option '--ignore-autocorrect-failures' - #3157, by @paul-dingemans

  • Allow _ as backing property name (needed for KEEP-412) - #3166, by @serras

  • Promote experimental rules to standard rules - #3171, by @paul-dingemans:

    • blank-line-between-when-conditions
    • kdoc
    • "mixed-condition-operators"
    • square-brackets-spacing
    • when-entry-bracing

🔧 Fixes

💬 Other

Don't miss a new ktlint release

NewReleases is sending notifications on new releases.