From 1ff7610f0f1f9bb6cdafad44f149e4f552ade695 Mon Sep 17 00:00:00 2001 From: James Rich <2199651+jamesarich@users.noreply.github.com> Date: Tue, 22 Jul 2025 14:44:22 -0500 Subject: [PATCH] chore(ktlint): ignore function naming for composables (#2502) Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com> --- app/build.gradle.kts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index e167a42cb..66cae87d0 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -282,6 +282,9 @@ spotless { target("src/*/kotlin/**/*.kt", "src/*/java/**/*.kt") targetExclude("**/build/**/*.kt") ktlint() + .editorConfigOverride( + mapOf("ktlint_function_naming_ignore_when_annotated_with" to "Composable") + ) ktfmt().kotlinlangStyle() licenseHeaderFile(rootProject.file("config/copyright.txt")) }