Skip to content

Fix more bugs with double slash in TSX#6289

Merged
duailibe merged 2 commits intoprettier:masterfrom
duailibe:typescript-jsx-slash
Jul 11, 2019
Merged

Fix more bugs with double slash in TSX#6289
duailibe merged 2 commits intoprettier:masterfrom
duailibe:typescript-jsx-slash

Conversation

@duailibe
Copy link
Copy Markdown
Collaborator

@duailibe duailibe commented Jul 11, 2019

Closes #6084

Prettier pr-6289
Playground link

--parser typescript

Input:

var a = <div> 
  <br />
  Project Home: (https://github.com/cancerberoSgx/accursed/) <br />      
</div>

Output:

var a = (
  <div>
    <br />
    Project Home: (https://github.com/cancerberoSgx/accursed/) <br />
  </div>
);

@duailibe duailibe merged commit 91a7aa0 into prettier:master Jul 11, 2019
@duailibe duailibe deleted the typescript-jsx-slash branch July 11, 2019 14:27
@lock lock bot added the locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. label Oct 9, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeScript jsx error: Comment location overlaps with node location

2 participants