Skip to content

Releases: pinterest/ktlint

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).

0.3.0

11 Jan 09:24
Compare
Choose a tag to compare

Added

  • *.kts (script) support.

Changed

  • kotlin-compiler version to 1.0.6 (from 1.0.3).

0.2.2

11 Oct 16:05
Compare
Choose a tag to compare

Fixed

  • no-wildcard-imports rule (kotlinx.android.synthetic excluded from check) (#16).

0.2.1

13 Sep 19:35
Compare
Choose a tag to compare

Fixed

  • curly-spacing false negative in case of }?..

0.2.0

06 Sep 06:20
Compare
Choose a tag to compare

Added

  • Support for 3rd party "ruleset"s.

Changed

  • ktlint -F output (it now includes lint errors that cannot be fixed automatically).

Fixed

  • ktlint -F --debug error count.
  • Glob implementation (previously it was prone to catastrophic backtracking).
  • Redundant semicolon false positive in case of enum (#12).
  • Unused operator import false positive (#13).