From 538f1141c648fbd8b8d17352c428ca96950b49de Mon Sep 17 00:00:00 2001 From: Gibran Chevalley Date: Thu, 24 Sep 2026 11:13:45 +0200 Subject: [PATCH 1/2] chore: Bump compose lints Compose lints what two minor version behind and they fixed a bunch of false positives --- gradle/core.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/core.versions.toml b/gradle/core.versions.toml index 92a1ff002..294909a70 100644 --- a/gradle/core.versions.toml +++ b/gradle/core.versions.toml @@ -12,7 +12,7 @@ biometricKtx = "1.2.0-alpha05" browser = "1.10.0" coil = "3.3.0" composeBom = "2025.12.00" -composeLintChecks = "1.4.2" +composeLintChecks = "1.6.0" concurrentFuturesKtx = "1.3.0" constraintLayout = "2.2.1" coordinatorLayout = "1.3.0" From 9bb1232a746d0eca25e3c08953bfd22cc3d9d7e3 Mon Sep 17 00:00:00 2001 From: Gibran Chevalley Date: Thu, 24 Sep 2026 11:22:17 +0200 Subject: [PATCH 2/2] feat: Regenerate lint-baselines for Core --- CrossAppLogin/Front/lint-baseline.xml | 28 +--- InAppUpdate/lint-baseline.xml | 6 +- KSuite/KSuitePro/lint-baseline.xml | 4 +- KSuite/MyKSuite/lint-baseline.xml | 122 +++++++++--------- Onboarding/lint-baseline.xml | 6 +- TwoFactorAuth/Front/lint-baseline.xml | 8 +- .../lint-baseline.xml | 4 +- 7 files changed, 78 insertions(+), 100 deletions(-) diff --git a/CrossAppLogin/Front/lint-baseline.xml b/CrossAppLogin/Front/lint-baseline.xml index a0fd1f297..fcb33f91d 100644 --- a/CrossAppLogin/Front/lint-baseline.xml +++ b/CrossAppLogin/Front/lint-baseline.xml @@ -1,20 +1,9 @@ - - - - - + - - - - - + - + - + + message="Modifiers should only be used once and by the root level layout of a Composable. This is true even if appended to or with other modifiers e.g. modifier.fillMaxWidth(). Use Modifier (with a capital 'M') to construct a new Modifier that you can pass to other composables. See https://slackhq.github.io/compose-lints/rules/#dont-re-use-modifiers for more information." + errorLine1=" modifier = paddedModifier.padding(top = Margin.Medium)," + errorLine2=" ~~~~~~~~~~~~~~"> + line="178" + column="20"/> + message="Modifiers should only be used once and by the root level layout of a Composable. This is true even if appended to or with other modifiers e.g. modifier.fillMaxWidth(). Use Modifier (with a capital 'M') to construct a new Modifier that you can pass to other composables. See https://slackhq.github.io/compose-lints/rules/#dont-re-use-modifiers for more information." + errorLine1=" modifier = paddedModifier.padding(top = Margin.Medium)," + errorLine2=" ~~~~~~~~~~~~~~"> + line="185" + column="24"/> + errorLine2=" ~~~~~~~~~~~~~~"> + column="23"/> + message="Modifiers should only be used once and by the root level layout of a Composable. This is true even if appended to or with other modifiers e.g. modifier.fillMaxWidth(). Use Modifier (with a capital 'M') to construct a new Modifier that you can pass to other composables. See https://slackhq.github.io/compose-lints/rules/#dont-re-use-modifiers for more information." + errorLine1=" modifier = paddedModifier," + errorLine2=" ~~~~~~~~~~~~~~"> + line="206" + column="24"/> + errorLine2=" ~~~~~~~~~~~~~~"> + column="23"/> + message="Modifiers should only be used once and by the root level layout of a Composable. This is true even if appended to or with other modifiers e.g. modifier.fillMaxWidth(). Use Modifier (with a capital 'M') to construct a new Modifier that you can pass to other composables. See https://slackhq.github.io/compose-lints/rules/#dont-re-use-modifiers for more information." + errorLine1=" modifier = paddedModifier," + errorLine2=" ~~~~~~~~~~~~~~"> + line="219" + column="36"/> + message="Modifiers should only be used once and by the root level layout of a Composable. This is true even if appended to or with other modifiers e.g. modifier.fillMaxWidth(). Use Modifier (with a capital 'M') to construct a new Modifier that you can pass to other composables. See https://slackhq.github.io/compose-lints/rules/#dont-re-use-modifiers for more information." + errorLine1=" modifier = paddedModifier.heightIn(min = KSuiteDimens.textItemMinHeight)," + errorLine2=" ~~~~~~~~~~~~~~"> + line="227" + column="32"/> + message="Modifiers should only be used once and by the root level layout of a Composable. This is true even if appended to or with other modifiers e.g. modifier.fillMaxWidth(). Use Modifier (with a capital 'M') to construct a new Modifier that you can pass to other composables. See https://slackhq.github.io/compose-lints/rules/#dont-re-use-modifiers for more information." + errorLine1=" modifier = paddedModifier," + errorLine2=" ~~~~~~~~~~~~~~"> + line="234" + column="28"/> + message="Modifiers should only be used once and by the root level layout of a Composable. This is true even if appended to or with other modifiers e.g. modifier.fillMaxWidth(). Use Modifier (with a capital 'M') to construct a new Modifier that you can pass to other composables. See https://slackhq.github.io/compose-lints/rules/#dont-re-use-modifiers for more information." + errorLine1=" modifier = modifier" + errorLine2=" ~~~~~~~~"> + line="59" + column="20"/> + message="Modifiers should only be used once and by the root level layout of a Composable. This is true even if appended to or with other modifiers e.g. modifier.fillMaxWidth(). Use Modifier (with a capital 'M') to construct a new Modifier that you can pass to other composables. See https://slackhq.github.io/compose-lints/rules/#dont-re-use-modifiers for more information." + errorLine1=" modifier = modifier," + errorLine2=" ~~~~~~~~"> + line="71" + column="24"/> - + - + - +