Skip to content

Releases: Doist/detekt-rules

v1.6.0

17 Sep 04:21
080390c
Compare
Choose a tag to compare

ConsistentWhenEntries: Existing rule update.

Before, this was not allowed but is allowed now.

val a = listOf<Int>()
val b = when(a) {
    is ArrayList,
    is MutableList,
    -> true
    else -> false
}

Before, this was allowed but should not be allowed

val a = listOf<Int>()
val b = when(a) {
    is ArrayList,
    is MutableList,
    -> {
        true
    }
    else -> false
}

v1.5.0

12 Aug 09:34
59dc3c9
Compare
Choose a tag to compare
Merge pull request #27 from Doist/prateek/add-rules-to-ruleset

Add all rules to rule set and update version

v1.4.0

09 Aug 14:43
4319048
Compare
Choose a tag to compare

Adds NewLineAfterSuperCall rule.

v1.3.0

20 Jul 07:17
Compare
Choose a tag to compare
Release 1.3.0

v1.2.1

14 Jul 08:54
Compare
Choose a tag to compare
Release 1.2.1

v1.2.0

14 Jul 08:25
Compare
Choose a tag to compare
Release 1.2.0

v1.1.0

14 Jul 07:20
Compare
Choose a tag to compare
Release 1.1.0

v1.0.0

13 Jul 08:53
Compare
Choose a tag to compare
Run publish action after release action