Remove exclusion, ktlint is now able to handle Kotlin context parameter.
This commit is contained in:
committed by
Benoit Marty
parent
d6e11ca07a
commit
5a03206595
@@ -19,13 +19,3 @@ 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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
-2
@@ -5,8 +5,6 @@
|
||||
* Please see LICENSE files in the repository root for full details.
|
||||
*/
|
||||
|
||||
@file:Suppress("UnusedImports")
|
||||
|
||||
package io.element.android.libraries.troubleshoot.test
|
||||
|
||||
import app.cash.turbine.TurbineTestContext
|
||||
|
||||
Reference in New Issue
Block a user