Skip to content

Releases: pinterest/ktlint

0.8.0

30 May 17:27
Compare
Choose a tag to compare

Added

Fixed

  • ktlint-ruleset-standard ("no-unit-return" & "modifier-order" where not included).

0.7.1

29 May 20:24
Compare
Choose a tag to compare

Fixed

  • Triggering of "Unused import" when element is referenced in KDoc(s) only (#46).

0.7.0

28 May 08:33
Compare
Choose a tag to compare

Added

  • "no-unit-return" rule.
  • "modifier-order" rule (#42).
  • else/catch/finally on the same line as } check (now part of "keyword-spacing" rule).
  • "ktlint-intellij-idea-integration" binary for easy Intellij IDEA config injection.

0.6.2

23 May 07:35
Compare
Choose a tag to compare

Fixed

  • Unused "iterator" extension function import false positive (#40).

0.6.1

07 Mar 07:28
Compare
Choose a tag to compare

Fixed

  • Detection of unnecessary "same package" imports (no-unused-imports).
  • FileNotFoundException while scanning FS (#36).

0.6.0

01 Mar 18:04
Compare
Choose a tag to compare

Changed

  • kotlin-compiler version to 1.1.0 (from 1.1-M04).

0.5.1

28 Feb 21:44
Compare
Choose a tag to compare

Fixed

  • Unnecessary spacing around angle brackets in case of super<T> (#34).

0.5.0

21 Feb 07:52
Compare
Choose a tag to compare

Fixed

  • Redundant space inserted between } and !! (curly-spacing).

Changed

  • indent rule to allow "Method declaration parameters -> Align when multiline" (as this option is (unfortunately) "on" by default in Intellij IDEA) (#26).

0.4.0

02 Feb 00:42
Compare
Choose a tag to compare

Fixed

  • NPE in case of "Permission denied" (while scanning the file system).

Changed

  • kotlin-compiler version to 1.1-M04 (from 1.0.6).

0.3.1

25 Jan 17:55
Compare
Choose a tag to compare

Fixed

  • Unused infix function call import false positive (#25).