From 0ea65dbc0a7de1d5baf9987238bb53bd82c8901b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 3 Oct 2024 10:12:06 -0400 Subject: [PATCH] Update dependency com.slack.lint.compose:compose-lint-checks to v1.4.1 (#1695) --- gradle/libs.versions.toml | 4 +- libraries/base-ui/lint-baseline.xml | 26 ----------- .../compose-extensions/lint-baseline.xml | 46 +------------------ .../catchup/compose/WidthAwareContent.kt | 1 + 4 files changed, 4 insertions(+), 73 deletions(-) delete mode 100644 libraries/base-ui/lint-baseline.xml diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 3405c8ce1..a683e4f74 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,6 +1,6 @@ [versions] accompanist = "0.36.0" -agp = "8.7.0-beta02" +agp = "8.7.0" androidx-activity = "1.10.0-alpha02" androidx-core = "1.15.0-beta01" androidx-sqlite = "2.5.0-alpha09" @@ -214,7 +214,7 @@ kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotl kotlinx-immutable = "org.jetbrains.kotlinx:kotlinx-collections-immutable:0.3.8" kotlinx-serialization-core = { module = "org.jetbrains.kotlinx:kotlinx-serialization-core", version.ref = "kotlinx-serialization" } -lints-compose = "com.slack.lint.compose:compose-lint-checks:1.3.1" +lints-compose = "com.slack.lint.compose:compose-lint-checks:1.4.1" markdown = { module = "com.mikepenz:multiplatform-markdown-renderer-m3", version.ref = "markdown" } diff --git a/libraries/base-ui/lint-baseline.xml b/libraries/base-ui/lint-baseline.xml deleted file mode 100644 index 62b01a35b..000000000 --- a/libraries/base-ui/lint-baseline.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - diff --git a/libraries/compose-extensions/lint-baseline.xml b/libraries/compose-extensions/lint-baseline.xml index 49d677f87..0be0eccd6 100644 --- a/libraries/compose-extensions/lint-baseline.xml +++ b/libraries/compose-extensions/lint-baseline.xml @@ -1,5 +1,5 @@ - + - - - - - - - - - - - - - - - - diff --git a/libraries/compose-extensions/src/main/kotlin/catchup/compose/WidthAwareContent.kt b/libraries/compose-extensions/src/main/kotlin/catchup/compose/WidthAwareContent.kt index 0ba19a073..813cbf419 100644 --- a/libraries/compose-extensions/src/main/kotlin/catchup/compose/WidthAwareContent.kt +++ b/libraries/compose-extensions/src/main/kotlin/catchup/compose/WidthAwareContent.kt @@ -20,6 +20,7 @@ fun columnCount(minColumns: Int, minColumnWidth: Dp = 250.dp): Int { return (availableWidth / minWidthPx).toInt().coerceAtLeast(minColumns) } +@Suppress("ComposeContentEmitterReturningValues") @Composable fun rememberAvailableWidth(): Float { var availableWidth by remember { mutableFloatStateOf(0f) }