dimsuz
08/26/2022, 2:45 PMNamedArguments
violation for stuff like this
combine(myFlow, otherFlow, anotherFlow, ::Triple)
I don't want to turn this into
combine(flow = myFlow, flow2 = otherFlow, flow3 = anotherFlow, transform = ::Triple)
Luckily I've found ignoreFunction
is a thing. But when I do
NamedArguments:
ignoreFunction:
- kotlinx.coroutines.flow.combine
errors don't go away. Tried wrapping it in single quotes, tried doing ignoreFunction: [ 'kotlinx...combine' ]
instead, still nothing. Is this a bug? this function is not part of some class, it's a top-level oneSam
08/26/2022, 2:51 PM_Note_: this Suppressor doesn’t suppress issues found when you call these functions. It just suppresses the ones in the function definition.https://detekt.dev/docs/introduction/suppressors#function-suppressor
dimsuz
08/26/2022, 2:58 PMcombine
calls exclusivelyBrais Gabin
08/26/2022, 3:11 PMdimsuz
08/26/2022, 3:28 PMdimsuz
08/26/2022, 3:29 PMBrais Gabin
08/26/2022, 9:07 PM