ktlint v0.10.0 Release Notes
Release Date: 2017-10-10 // over 6 years ago-
โ Added
- ๐
Git hook to automatically check files for style violations on commit
๐ (executektlint --install-git-pre-commit-hook
to install). - Ability to specify multiple reporters
๐ (output can be controlled with--reporter=<name>,output=<path/to/file>
) (#71). - ๐ Support for
indent_size=unset
(.editorconfig
) (#70).
๐ Fixed
( {
formatting
๐ (previously both( {
and({
were accepted as correct, while only({
should be) (curly-spacing
rule) (#80).if\nfn {}\nelse
formatting (curly-spacing
rule).max_line_length=off
&max_line_length=unset
handling (.editorconfig
).
๐ Changed
kotlin-compiler
version to 1.1.51 (from 1.1.3-2).ktlint --apply-to-idea
to includeOPTIMIZE_IMPORTS_ON_THE_FLY=true
.
- ๐
Git hook to automatically check files for style violations on commit