You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
no-line-break-before-assignment (#105), chain-wrapping (#23)
(when wrapping chained calls ., ?. and ?: should be placed on the next line), range-spacing (no spaces around range (..) operator) rules.
--color CLI option for colored output (where supported, e.g. --print-ast, default (plain) reporter, etc)
Changed
.editorconfig property resolution.
An explicit [*.{kt,kts}] is not required anymore (ktlint looks for sections
containing *.kt (or *.kts) and will fallback to [*] whenever property cannot be found elsewhere).
Also, a search for .editorconfig will no longer stop on first (closest) .editorconfig (unless it contains root=true).
max-line-length rule to assume max_line_length=100 when ktlint --android ... is used
(per Android Kotlin Style Guide).
kotlin-compiler version to 1.2.0 (from 1.1.51).
Fixed
no-empty-class-body auto-correction at the end of file (#109).
max-line-length rule when applied to KDoc (#112)
(previously KDoc was subject to max-line-length even though regular comments were not).