Is it expected that ktlint disagrees with IntelliJ...
# ktlint
v
Is it expected that ktlint disagrees with IntelliJ regarding indentation of
Copy code
a &&
    b
(ktlint) vs.
Copy code
a &&
        b
(IntelliJ) ?
s
both seem wrong in my opinion :) but ktlint seems less wrong?
v
Why? The official code style does not have any rule for how to conitinue a wrapped binary expression as far as I have seen
So using the usual double-indent seems more logical to me
Besides that how IntelliJ is doing it is done by the inventors of the language and the coding conventions.
s
sure. feel free to file a bug. I guess to answer your original question no I don't think it was a deliberate choice to not match the intellij formatter