Pattern: Redundant explicit type
Issue: -
Local properties do not need their type to be explicitly provided when the inferred type matches the explicit type.
Example of incorrect code:
fun function() {
val x: String = "string"
}
Example of correct code:
fun function() {
val x = "string"
}