fables-tales / rubyfmt

Ruby Autoformatter!
MIT License
1.07k stars 50 forks source link

Is rubyfmt compatible with standardrb on rules? #428

Closed zhengpd closed 1 year ago

zhengpd commented 1 year ago

I'm considering using rubyfmt for formatting and standardrb for LSP diagnostics, but I'm uncertain if rubyfmt and standardrb agree on the same rules (e.g. indentation or spaces inside brackets). Does rubyfmt implement the same rules as standardrb?

zhengpd commented 1 year ago

According to @searls comments at standard #482 and #159:

The long-term goal of Standard & rubyfmt has always been eventual agreement in formatting rules.

I guess rubyfmt & standard are compatible.