ktlint v0.22.0 Release Notes

Release Date: 2018-04-22 // almost 6 years ago
  • โž• Added

    • ๐Ÿ‘• --apply-to-idea-project (as an alternative to (global) --apply-to-idea) (#178).
    • ๐Ÿ‘• Check to verify that annotations are placed before the modifiers (#183).
    • ๐Ÿ‘• Access to PsiFile location information (#194).

    ๐Ÿ›  Fixed

    • ๐Ÿ‘• --format commenting out operators (chain-wrapping rule) (#193).

    ๐Ÿ”„ Changed

    • indent rule (continuation_indent_size is now ignored) (#171).
      NOTE: if you have a custom continuation_indent_size (and gcd(indent_size, continuation_indent_size) == 1) ktlint won't check the indentation.
    • ๐Ÿ’… --apply-to-idea to inherit "Predefined style / Kotlin style guide" (Kotlin plugin 1.2.20+).
    • kotlin-compiler version to 1.2.40 (from 1.2.30).