Microsoft/TypeScript

Formatter: Place JSX closing tag on new line

Open

#21,124 建立於 2018年1月10日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)TypeScript (48,455 star) (6,726 fork)batch import
Domain: FormatterHelp WantedSuggestion

描述

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.

貢獻者指南