All Versions
85
Latest Version
Avg Release Cycle
50 days
Latest Release
195 days ago
Changelog History
Page 5
Changelog History
Page 5
-
v0.22.0 Changes
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 customcontinuation_indent_size
(andgcd(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).
- ๐
-
v0.21.0 Changes
March 29, 2018๐ Changed
- ๐
indent
rule to ignorewhere <type constraint list>
clause (#180).
- ๐
-
v0.20.0 Changes
March 20, 2018โ Added
- Ability to load 3rd party reporters from the command-line (e.g.
--reporter=<name>,artifact=<group_id>:<artifact_id>:<version>
) (#176). --ruleset
/--reporter
dependency tree validation.
๐ Fixed
- Handling of spaces in
--reporter=...,output=<path_to_a_file>
(#177). - ๐
+
,-
,*
,/
,%
,&&
,||
wrapping (#168).
๐ Changed
- ๐
comma-spacing
rule to be more strict (#173). no-line-break-after-else
rule to allow multi-lineif/else
without curly braces.
- Ability to load 3rd party reporters from the command-line (e.g.
-
v0.19.0 Changes
March 04, 2018๐ Changed
- ๐ Lambda formatting: if lambda is assigned a label, there should be no space between the label and the opening curly brace (#167).
- ๐ Lambda formatting: if lambda is assigned a label, there should be no space between the label and the opening curly brace (#167).
-
v0.18.0 Changes
March 01, 2018 -
v0.17.1 Changes
February 28, 2018๐ Fixed
- ๐
Internal Error (parameter-list-wrapping)
whenindent_size=unset
(#165).
- ๐
-
v0.17.0 Changes
February 28, 2018๐ Fixed
- ๐
+
/-
wrapping insidecatch
block, afterelse
andif (..)
(#160). - ๐ Multi-line parameter declaration indentation (#161).
- Expected indentation reported by
indent
rule.
๐ Changed
- ๐ Error code returned by
ktlint --format/-F
when some of the errors cannot be auto-corrected (previously it was 0 instead of expected 1) (#162).
- ๐
-
v0.16.1 Changes
February 27, 2018๐ Fixed
- ๐ Handling of negative number condition in
when
block (#160).
- ๐ Handling of negative number condition in
-
v0.16.0 Changes
February 27, 2018โ Added
- ๐
parameter-list-wrapping
rule (#130). +
,-
,*
,/
,%
,&&
,||
wrapping check (now part ofchain-wrapping
rule).
๐ Fixed
- ๐ Unused
componentN
import (where N > 5) false positive (#142). - ๐ max-line-length error suppression (#158).
๐ Changed
- ๐
modifier-order
rule to match official Kotlin Coding Conventions (#146)
(override
modifier should be placed beforesuspend
/tailrec
, not after)
- ๐
-
v0.15.1 Changes
February 14, 2018๐ Fixed
- ๐ Race condition when multiple rules try to modify AST node that gets detached as a result of mutation (#154).