Use the 'Remove unnecessary parentheses from function call with lambda' quick-fix to clean up the code.
Examples:
fun foo() { listOf(1).forEach() { } }
After the quick-fix is applied:
fun foo() { listOf(1).forEach { } }