ktlint v0.24.0 Release Notes

Release Date: 2018-06-22 // almost 6 years ago
  • โž• 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 ([email protected]).

    ๐Ÿ”„ Changed

    • ๐Ÿ‘• comment-spacing rule to exclude //noinspection (#212).
    • ๐Ÿ‘• kotlin-compiler version to 1.2.50 (from 1.2.41) (#226).