chore(ktlint): ignore function naming for composables (#2502)

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
James Rich
2025-07-22 14:44:22 -05:00
committed by GitHub
parent 415f18d4f8
commit 1ff7610f0f

View File

@@ -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"))
}