All Versions
64
Latest Version
Avg Release Cycle
28 days
Latest Release
81 days ago

Changelog History
Page 2

  • v0.29.0

    October 02, 2018

    🛠 Fixed

    • 👕 no-semi rule to preserve semicolon after companion object; (see #281 for details).
    • "line number off by one" when end_of_line=CRLF is used (#286).

    🔄 Changed

    • 👕 package-name rule not to check file location (until #280 can be properly addressed).
    • 👕 comment-spacing rule not to flag //region & //endregion comments (#278).
    • kotlin-compiler version to 1.2.71 (from 1.2.51).
  • v0.28.0

    September 05, 2018

    🛠 Fixed

    • 👕 ktlint hanging in case of unhandled exception in a reporter (#277).

    🔄 Changed

    • 👕 package-name rule (directories containing . in their names are no longer considered to be invalid) (#276).
  • v0.27.0

    August 06, 2018

    🔄 Changed

    • 💅 ktlint output (report location is now printed only if there are style violations) (#267).
  • v0.26.0

    July 30, 2018

    🔄 Changed

    • 👕 max-line-length rule (multi-line strings are no longer checked) (#262).
  • v0.25.1

    July 25, 2018

    🛠 Fixed

    • 👕 json reporter \ and control characters escaping (#256).
  • v0.25.0

    July 25, 2018

    ➕ Added

    • 👕 package-name rule (#246).
    • 👕 --editorconfig=path/to/.editorconfig (#250).
    • Support for end_of_line=native (.editorconfig) (#225).
    • tab -> space * indent_size auto-correction (--format/-F).

    🛠 Fixed

    • 👕 "Unnecessary semicolon" false positive (#255).
    • (cannot be auto-corrected) reporting.
    • 🖨 OOM in --debug mode while trying to print root=true <- root=false .editorconfig chain.

    🔄 Changed

    • kotlin-compiler version to 1.2.51 (from 1.2.50).
  • v0.24.0

    June 22, 2018

    ➕ Added

    • 👕 paren-spacing rule (#223).
    • 👕 Report location output (#218, #224).
    • 👕 An indication that some lint errors cannot be auto-corrected (#219).
    • 💅 Git hook to automatically check files for style violations on push (an alternative to existing ktlint --install-git-pre-commit-hook)
      👕 (execute ktlint --install-git-pre-push-hook to install) (#229).
    • Support for end_of_line=crlf (.editorconfig) (#225).

    🛠 Fixed

    • .editorconfig path resolution
      👕 (you no longer need to be inside project directory for .editorconfig to be loaded) (#207).
    • NPE in case of I/O error (klob@0.2.1).

    🔄 Changed

    • 👕 comment-spacing rule to exclude //noinspection (#212).
    • 👕 kotlin-compiler version to 1.2.50 (from 1.2.41) (#226).
  • v0.23.1

    May 04, 2018

    🛠 Fixed

    • 👕 ClassCastException: cannot be cast to LeafPsiElement (#205).
  • v0.23.0

    May 02, 2018

    ➕ Added

    • 👕 comment-spacing (#198),
      filename (#194) rules.
    • 👕 parameter-list-wrapping left parenthesis placement check (#201).
    • parameter-list-wrapping auto-correction when max_line_length is exceeded (#200).

    🛠 Fixed

    • 👕 "Unused import" false positive (x.y.zNNN import inside x.y.z package) (#204).

    🔄 Changed

    • kotlin-compiler version to 1.2.41 (from 1.2.40).
  • v0.22.0

    April 22, 2018

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