reason-cli icon indicating copy to clipboard operation
reason-cli copied to clipboard

Refmt with deriving abstract

Open rusty-key opened this issue 7 years ago • 0 comments

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.

rusty-key avatar Jul 27 '18 13:07 rusty-key