mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
chore(ktlint): ignore function naming for composables (#2502)
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
parent
415f18d4f8
commit
1ff7610f0f
1 changed files with 3 additions and 0 deletions
|
|
@ -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"))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue