Skip to content

Commit 4d78c4d

Browse files
committed
upgrade detekt to 1.23.1
1 parent f3e3ea9 commit 4d78c4d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ These are my opinions. There are many like them but these are mine. 😄
1414

1515
Inside of your `dependencies` block add the following: (for more details see [adding more rule sets](https://github.com/detekt/detekt#adding-more-rule-sets))
1616
```kotlin
17-
detektPlugins("com.github.hbmartin:hbmartin-detekt-rules:0.0.8")
17+
detektPlugins("com.github.hbmartin:hbmartin-detekt-rules:0.0.9")
1818
```
1919

2020
Then add to your detekt configuration as in the section below to activate rules. Note that the AvoidFirstOrLastOnList and AvoidMutableCollections rules require [type resolution](https://detekt.dev/docs/gettingstarted/type-resolution) to be active.

build.gradle.kts

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
plugins {
22
kotlin("jvm") version "1.9.0"
33
`maven-publish`
4-
id("io.gitlab.arturbosch.detekt").version("1.23.0")
4+
id("io.gitlab.arturbosch.detekt").version("1.23.1")
55
jacoco
66
}
77

88
group = "me.haroldmartin.detektrules"
99
version = "1.0-SNAPSHOT"
1010

1111
dependencies {
12-
compileOnly("io.gitlab.arturbosch.detekt:detekt-api:1.23.0")
12+
compileOnly("io.gitlab.arturbosch.detekt:detekt-api:1.23.1")
1313

14-
testImplementation("io.gitlab.arturbosch.detekt:detekt-test:1.23.0")
14+
testImplementation("io.gitlab.arturbosch.detekt:detekt-test:1.23.1")
1515
testImplementation("io.kotest:kotest-assertions-core:5.6.2")
1616
testImplementation("org.junit.jupiter:junit-jupiter:5.10.0")
1717
testImplementation("org.jetbrains.kotlinx:kotlinx-collections-immutable:0.3.5")
1818

19-
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:1.23.0")
20-
detektPlugins("io.gitlab.arturbosch.detekt:detekt-rules-ruleauthors:1.23.0")
19+
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:1.23.1")
20+
detektPlugins("io.gitlab.arturbosch.detekt:detekt-rules-ruleauthors:1.23.1")
2121
detektPlugins(rootProject)
2222
}
2323

0 commit comments

Comments
 (0)