From 9e780cd5e9b2317396900fc4e99344a434c79689 Mon Sep 17 00:00:00 2001 From: Simon Marquis Date: Fri, 22 Dec 2023 12:08:40 +0100 Subject: [PATCH] Suppress `LintImplTrimIndent` for `trimMargin()` --- .../nowinandroid/lint/designsystem/DesignSystemDetectorTest.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lint/src/test/kotlin/com/google/samples/apps/nowinandroid/lint/designsystem/DesignSystemDetectorTest.kt b/lint/src/test/kotlin/com/google/samples/apps/nowinandroid/lint/designsystem/DesignSystemDetectorTest.kt index 6ea55c7e9..188a52ee0 100644 --- a/lint/src/test/kotlin/com/google/samples/apps/nowinandroid/lint/designsystem/DesignSystemDetectorTest.kt +++ b/lint/src/test/kotlin/com/google/samples/apps/nowinandroid/lint/designsystem/DesignSystemDetectorTest.kt @@ -34,6 +34,7 @@ class DesignSystemDetectorTest { .files( COMPOSABLE_STUB, STUBS, + @Suppress("LintImplTrimIndent") kotlin( """ |import androidx.compose.runtime.Composable @@ -121,6 +122,7 @@ class DesignSystemDetectorTest { .files( COMPOSABLE_STUB, STUBS, + @Suppress("LintImplTrimIndent") kotlin( """ |fun main() {