diff --git a/detekt.yml b/detekt.yml index dd22795c..a693d7ca 100644 --- a/detekt.yml +++ b/detekt.yml @@ -302,7 +302,7 @@ naming: FunctionNaming: active: true excludes: "**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt" - functionPattern: '^([a-z$][a-zA-Z$0-9]*)|(`.*`)$' + functionPattern: '^([a-zA-Z$][a-zA-Z$0-9]*)|(`.*`)$' excludeClassPattern: '$^' ignoreOverridden: true FunctionParameterNaming: diff --git a/presentation/src/main/java/com/android254/presentation/about/view/AboutScreen.kt b/presentation/src/main/java/com/android254/presentation/about/view/AboutScreen.kt index 9a45b0ec..bc1d1be1 100644 --- a/presentation/src/main/java/com/android254/presentation/about/view/AboutScreen.kt +++ b/presentation/src/main/java/com/android254/presentation/about/view/AboutScreen.kt @@ -16,7 +16,6 @@ package com.android254.presentation.about.view import android.content.res.Configuration -import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column @@ -38,7 +37,6 @@ import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier -import androidx.compose.ui.graphics.Color import androidx.compose.ui.layout.ContentScale import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.platform.testTag diff --git a/presentation/src/main/java/com/android254/presentation/feed/view/FeedComponent.kt b/presentation/src/main/java/com/android254/presentation/feed/view/FeedComponent.kt index ac736cc9..30d423c5 100644 --- a/presentation/src/main/java/com/android254/presentation/feed/view/FeedComponent.kt +++ b/presentation/src/main/java/com/android254/presentation/feed/view/FeedComponent.kt @@ -46,7 +46,6 @@ import coil.request.ImageRequest import com.android254.presentation.models.FeedUI import com.droidconke.chai.ChaiDCKE22Theme import com.droidconke.chai.atoms.ChaiBlue -import com.droidconke.chai.atoms.ChaiLightGrey import com.droidconke.chai.atoms.ChaiSmokeyGrey import com.droidconke.chai.atoms.MontserratBold import ke.droidcon.kotlin.presentation.R