ktlint v0.37.0 Release Notes
Release Date: 2020-06-02 // almost 4 years ago-
๐ Thank you to Tapchicoma and romtsn for all their hard work on this release!
โ Added
- ๐ Gradle wrapper validation (#684)
- ๐ Experimental
SpacingAroundDoubleColon
rule (#722) - ๐ Experimental
SpacingBetweenDeclarationsWithCommentsRule
andSpacingBetweenDeclarationsWithAnnotationsRule
. Fixes (#721) kotlin_imports_layout
config for.editorconfig
file so that import ordering is configurable. Fixes (#527)
๐ Changed
- โก๏ธ Kotlin was updated to 1.3.70 version
- ๐ Loading properties from
.editorconfig
was fully delegated to ec4j library. This fixes ability to override
๐ properties for specific files/directories (#742) - ๐ Promote experimental "indent" rule to standard one, old standard "indent" rule is removed
- ๐ Functions to calculate line/column are now public so they can be used by 3rd party tools (#725)
- ๐
AnnotationRule
now handles file annotations as well (#714)
๐ Fixed
- ๐ Ignore keywords in KDoc comments (#671)
- ๐ Allow multiple spaces in KDoc comments (#706)
- ๐ Trailing comment no longer reported as incorrect indentation (#710)
- ๐ Annotated function types no longer reported as an error (#737)
- ๐
FinalNewlineRule
no longer reports error for empty files (#723) - ๐ EOL comments will no longer cause
AnnotationRule
to report an error (#736) - ๐ Formatter will no longer break class declaration with trailing comment (#728)
- ๐ Formatting for single line if/else statements (#174)
- ๐ Exception in
NoLineBreakBeforeAssignmentRule
(#693)
โ Removed
- โ Removed Maven; builds all run under Gradle (#445)
- Old standard
IndentRule