Please elaborate why this would be a potential formatting issue?
p
Pablichjenkov
04/19/2024, 3:40 PM
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
Pablichjenkov
04/19/2024, 3:42 PM
Perhaps specific rules for coroutines. I know compose has some libraries with its own rules
p
Paul Dingemans
04/19/2024, 4:19 PM
Klink ficus is linting and formatting.
p
Pablichjenkov
04/19/2024, 4:22 PM
Gotcha so in this case I should research on some specific library for coroutines maybe 🧐🤔
b
Brais Gabin
04/23/2024, 9:22 PM
Detekt looks like a good place for a rule like this.