Код: Выделить всё
Function name should start with a lowercase letter (except factory methods) and use camel case (cannot be auto-corrected)Код: Выделить всё
id("org.jlleitschuh.gradle.ktlint") version "12.0.3"
ktlint {
version.set("1.1.0")
debug.set(true)
enableExperimentalRules.set(true)
additionalEditorconfig.set(
mapOf(
"max_line_length" to "off",
"ktlint_function_naming_ignore_when_annotated_with" to "Composable"
),
)
}
Подробнее здесь: https://stackoverflow.com/questions/777 ... ble-functi
Мобильная версия