Detekt and ktlint are confused with Kotlin context...

This commit is contained in:
Benoit Marty
2025-09-23 10:10:44 +02:00
parent 8d5078904a
commit 2884ae0f44
2 changed files with 12 additions and 0 deletions
@@ -19,3 +19,13 @@ dependencies {
implementation(libs.test.core)
implementation(libs.test.turbine)
}
ktlint {
filter {
exclude { element ->
val path = element.file.path
// Exclude this file, that ktlint cannot parse.
path.contains("libraries/troubleshoot/test/src/main/kotlin/io/element/android/libraries/troubleshoot/test/Utils.kt")
}
}
}