ktlint v0.43.0 Release Notes

Release Date: 2021-11-02 // over 2 years ago
  • ➕ Added

    • 🆕 New trailing-comma rule (#709) (prior art by paul-dingemans) ### 🛠 Fixed
    • 🛠 Fix false positive with lambda argument and call chain (indent) (#1202)
    • 🛠 Fix trailing spaces not formatted inside block comments (no-trailing-spaces) (#1197)
    • 👕 Do not check for .idea folder presence when using applyToIDEA globally (#1186)
    • ✂ Remove spaces before primary constructor (paren-spacing) (#1207)
    • 🛠 Fix false positive for delegated properties with a lambda argument (indent) (#1210)
    • 👕 (REVERTED in Ktlint 0.45.0) Remove unnecessary wildcard imports (no-unused-imports) (#1256)
    • 🛠 Fix indentation of KDoc comment when using tab indentation style (indent) (#850) ### 🔄 Changed
    • 👌 Support absolute paths for globs (#1131)
    • 🛠 Fix regression from 0.41 with argument list wrapping after dot qualified expression (argument-list-wrapping)(#1159)
    • ⚡️ Update Gradle to 7.2 version
    • ⚡️ Update Gradle shadow plugin to 7.1 version
    • ⚡️ Update Kotlin version to 1.5.31 version. Default Kotlin API version was changed to 1.4!