I use unoffical intellij plugin. how can i fix thi...
# ktlint
m
I use unoffical intellij plugin. how can i fix this warn (or error)? Unexpected newline before "else" (keyword-spacing) my code
Copy code
Code
        else if (position2 == 7 && keys.pressing(<http://Key.SPACE|Key.SPACE>)) {
            a = true
        }
Another Code
r
as the error says, your
else
keyword has a newline in front, which is not what the rule expects