ruby-syntax-tree / syntax_tree

Interact with the Ruby syntax tree
https://ruby-syntax-tree.github.io/syntax_tree/
MIT License
556 stars 54 forks source link

Disabling single-line conditional formatting #434

Open ekmartin opened 5 months ago

ekmartin commented 5 months ago

We would really like to avoid turning:

if foo
  some_function_call(...)
end

Into some_function_call(...) if foo. Would this be possible with a plugin? Feel free to close!