I originally posted this in <#CKS3XG0LS|ktlint> bu...
# detekt
m
I originally posted this in #ktlint but as pointed out, most of my points fit better here. Is there any existing opinion on these topics yet, or will we have to wait for wider adoption?
s
Sorry for the late reply. Detekt maintainer here. I think I can add something to this discussion. Ad 1) I don't think so. This feels like personal preference. However, context parameters are in experimental state. Would be interesting to see if the Kotlin authors for this feature have had any thoughts about this. Ad 2) I'd handle this the same way as function parameters tbh. Ad 3) Mhhhm... I can only refer to 1). I think the same applies. Moreover, I think taking some inspiration from Scale could be helpful for answering this question, since this feature exists for some time in the Scala world.
👍 1