New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure detekt #227
Configure detekt #227
Conversation
Suppressed some issues. |
Merge after #233 |
# Conflicts: # reaktive/src/iosCommonMain/kotlin/com/badoo/reaktive/scheduler/MainScheduler.kt # reaktive/src/nativeCommonMain/kotlin/com/badoo/reaktive/scheduler/CreateTrampolineScheduler.kt # utils/src/jsMain/kotlin/com/badoo/reaktive/utils/clock/DefaultClock.kt
Ready to merge. |
@@ -127,6 +129,7 @@ fun <T1, T2, T3, T4, R> combineLatest( | |||
mapper(values[0] as T1, values[1] as T2, values[2] as T3, values[3] as T4) | |||
} | |||
|
|||
@Suppress("LongParameterList") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's disable this inspection please
@@ -9,6 +11,7 @@ import com.badoo.reaktive.utils.atomic.update | |||
import com.badoo.reaktive.utils.replace | |||
import com.badoo.reaktive.utils.serializer.serializer | |||
|
|||
@Suppress("ComplexMethod") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And perhaps this should be disabled as well?
@@ -9,6 +9,7 @@ internal abstract class SerializerImpl<in T>(queue: Queue<T>) : Serializer<T> { | |||
private val monitor = Any() | |||
private var isDraining = false | |||
|
|||
@Suppress("ReturnCount") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about this one? Do we really want it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return X
count in one method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm?
I wanted to discuss it in person, but forgot.
|
Fixes #204
Still long path to fix / ignore every issue.