Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Refmt with deriving abstract #82

Open
rusty-key opened this issue Jul 27, 2018 · 0 comments
Open

Refmt with deriving abstract #82

rusty-key opened this issue Jul 27, 2018 · 0 comments

Comments

@rusty-key
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant