Skip to content

Releases: pinterest/ktlint

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

0.1.2

05 Aug 18:32
Compare
Choose a tag to compare

Fixed

  • "in-use" escaped imports detection (#7) (no-unused-imports).

0.1.1

01 Aug 21:27
Compare
Choose a tag to compare

Fixed

  • Incorrect spacing around curly braces (curly-spacing).

0.1.0

27 Jul 09:56
Compare
Choose a tag to compare
[0.7.0]: https://github.com/shyiko/ktlint/compare/0.6.2...0.7.0
[0.6.2]: https://github.com/shyiko/ktlint/compare/0.6.1...0.6.2
[0.6.1]: https://github.com/shyiko/ktlint/compare/0.6.0...0.6.1
[0.6.0]: https://github.com/shyiko/ktlint/compare/0.5.1...0.6.0
[0.5.1]: https://github.com/shyiko/ktlint/compare/0.5.0...0.5.1
[0.5.0]: https://github.com/shyiko/ktlint/compare/0.4.0...0.5.0
[0.4.0]: https://github.com/shyiko/ktlint/compare/0.3.1...0.4.0
[0.3.1]: https://github.com/shyiko/ktlint/compare/0.3.0...0.3.1
[0.3.0]: https://github.com/shyiko/ktlint/compare/0.2.2...0.3.0
[0.2.2]: https://github.com/shyiko/ktlint/compare/0.2.1...0.2.2
[0.2.1]: https://github.com/shyiko/ktlint/compare/0.2.0...0.2.1
[0.2.0]: https://github.com/shyiko/ktlint/compare/0.1.2...0.2.0
[0.1.2]: https://github.com/shyiko/ktlint/compare/0.1.1...0.1.2
[0.1.1]: https://github.com/shyiko/ktlint/compare/0.1.0...0.1.1