[Discuss] Formatter always format one-line method to multi-line, is it necessary?

This is a subjective matter. In my opinion this:

def foo; bar; end

is less readable than this:

def foo
  bar
end

If we allow the two forms then people will start making comments like “Hey, you should make this a one-liner” and so on. By not having the option to choose everything is simplified.

8 Likes