Expected Behavior
Using RxJava 2.2.19
Observable.just(...)
.take(1)
.map {...
}
.kotlinExtensionMethod()
.subscribe({... }, {...})
Should be no IgnoredReturnValue detekted becase we use the results of take and map
Observed Behavior
This triggered IgnoredReturnValue on take and map
Context
We have to disable this rule as a workaround.
Your Environment
- Version of detekt used: 1.12.0
- Version of Gradle used (if applicable): 6.6.1 (with Android)
- Operating System and version: macOS 10.15
Expected Behavior
Using RxJava 2.2.19
Should be no
IgnoredReturnValuedetekted becase we use the results oftakeandmapObserved Behavior
This triggered
IgnoredReturnValueontakeandmapContext
We have to disable this rule as a workaround.
Your Environment