Hi! I'm using ktlint 1.5.0 and was wondering why ...
# ktlint
d
Hi! I'm using ktlint 1.5.0 and was wondering why it doesn't report the below bad formatting:
Copy code
if (something == ABC
) {
  ...
} else {
  ...
}
) {
should be on the same line of the if statement...
Copy code
if (something == ABC) {
Do you have any insight?
p
Please create an issue. It looks like a bug.
I can reproduce the issue in similar other situations as well. I have created https://github.com/pinterest/ktlint/issues/2943