Microsoft/TypeScript

Formatter: Place JSX closing tag on new line

Open

#21,124 opened on Jan 10, 2018

View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (48,455 stars) (6,726 forks)batch import
Domain: FormatterHelp WantedSuggestion

Description

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.

Contributor guide

Formatter: Place JSX closing tag on new line · Microsoft/TypeScript#21124 | Good First Issue