Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beautiful printing of JSX prop and module open #2027

Merged
merged 4 commits into from
Jun 26, 2018

Conversation

anmonteiro
Copy link
Member

fixes #2026

Before:

<C
  prop=M.{
         a: "xxxxxxxxxxxxxxxxxxxxxx",
         b: "xxxxxxxxxxxxxxxxxxxxxx",
         c: "xxxxxxxxxxxxxxxxxxxxxx",
       }
/>;

After:

<C
  prop=M.{
    a: "xxxxxxxxxxxxxxxxxxxxxx",
    b: "xxxxxxxxxxxxxxxxxxxxxx",
    c: "xxxxxxxxxxxxxxxxxxxxxx",
  }
/>;

fixes reasonml#2026

Before:

```reason
<C
  prop=M.{
         a: "xxxxxxxxxxxxxxxxxxxxxx",
         b: "xxxxxxxxxxxxxxxxxxxxxx",
         c: "xxxxxxxxxxxxxxxxxxxxxx",
       }
/>;
```

After:

```reason
<C
  prop=M.{
    a: "xxxxxxxxxxxxxxxxxxxxxx",
    b: "xxxxxxxxxxxxxxxxxxxxxx",
    c: "xxxxxxxxxxxxxxxxxxxxxx",
  }
/>;
```
@anmonteiro anmonteiro changed the title Beatiful printing of JSX prop and module open Beautiful printing of JSX prop and module open Jun 26, 2018
@chenglou
Copy link
Member

Thanks!

@chenglou chenglou merged commit 66f086c into reasonml:master Jun 26, 2018
@anmonteiro anmonteiro deleted the gh-2026 branch June 26, 2018 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[refmt]: JSX prop and module open
3 participants