Skip to content

Formatter: Place JSX closing tag on new line #21124

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

Open
srolel opened this issue Jan 10, 2018 · 0 comments
Open

Formatter: Place JSX closing tag on new line #21124

srolel opened this issue Jan 10, 2018 · 0 comments
Labels
Domain: Formatter The issue relates to the built-in formatter Help Wanted You can do this Suggestion An idea for TypeScript
Milestone

Comments

@srolel
Copy link
Contributor

srolel commented Jan 10, 2018

TypeScript Version: 2.7.0-dev.20180108

Code

<div>
    wat</div>

Expected behavior:

<div>
    wat
</div>

Actual behavior:

No changes are made by the formatter.

Related:

While not directly related, I came across this while working on a fix for #20766. I can work on a fix for this issue as well.

@mhegazy mhegazy added Suggestion An idea for TypeScript Domain: Formatter The issue relates to the built-in formatter Help Wanted You can do this labels Jan 10, 2018
@mhegazy mhegazy changed the title This JSX formation kills formatter Formatter: Place JSX closing tag on new line Jan 10, 2018
@mhegazy mhegazy added this to the Community milestone Apr 12, 2018
@RyanCavanaugh RyanCavanaugh modified the milestones: Community, Backlog Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Domain: Formatter The issue relates to the built-in formatter Help Wanted You can do this Suggestion An idea for TypeScript
Projects
None yet
Development

No branches or pull requests

3 participants