saveourtool / diktat

Strict coding standard for Kotlin and a custom set of rules for detecting code smells, code style issues and bugs
https://diktat.saveourtool.com
MIT License
521 stars 39 forks source link

Explicit lambda arguments shouldn't be called `it` #1250

Open petertrr opened 2 years ago

petertrr commented 2 years ago

Explicit lambda arguments are named it. This is confusing, even though the language allows it. I'll create a separate issue to implement this check as a part of Diktat.

Originally posted by @petertrr in https://github.com/analysis-dev/diktat/issues/1228#issuecomment-1080781871

orchestr7 commented 2 years ago

@nulls will cover it, I hope