Is there any ktlint rule for this: <https://kotlin...
# ktlint
p
Please elaborate why this would be a potential formatting issue?
p
Is lint only formatting issues or it also catches possible code errors using the language APIs? It seems to be issues if invokeOnCancellation is not called at the end of suspendCancellableCoroutine block and is accidentally called before
Perhaps specific rules for coroutines. I know compose has some libraries with its own rules
p
Klink ficus is linting and formatting.
p
Gotcha so in this case I should research on some specific library for coroutines maybe 🧐🤔
b
Detekt looks like a good place for a rule like this.
🆗 1