reasonml / reason-cli

Globally installable Reason toolchain.
MIT License
291 stars 23 forks source link

Refmt with deriving abstract #82

Open rusty-key opened 6 years ago

rusty-key commented 6 years ago

Hi!

Is there any reason to have this formatting:

[@bs.deriving abstract]
type props = {
  [@bs.optional]
  title: string,
  [@bs.optional]
  active: bool,
  [@bs.optional]
  className: string,
};

over

type props = {
  [@bs.optional] title: string,
  [@bs.optional] active: bool,
  [@bs.optional] className: string,
};

?

I think the current version is affecting readability negatively.