De-duplicate indentations in JSX Texts - #36552
Conversation
Offload all jsx text indentation handling to indentMultilineCommentOrJsxText
|
TypeScript Bot (@typescript-bot) cherry-pick this to branchname release-3.8 |
|
Heya Orta Therox (@orta), I couldn't find the branch 'branchname' on Microsoft/TypeScript. You may need to make it and try again. |
|
TypeScript Bot (@typescript-bot) cherry-pick this to release-3.8 |
1 similar comment
|
TypeScript Bot (@typescript-bot) cherry-pick this to release-3.8 |
|
TypeScript Bot (@typescript-bot) cherry-pick this to release-3.8 and LKG |
* WIP on making the JSX text node not include whitespace * Scans to the last newline for JSX correctly * Handle JSX closing element wrapping * Offload all jsx text indentation handling to indentMultilineCommentOrJsxText * Switch from find node -> find inde in formatting Co-authored-by: Wesley Wigham <wwigham@gmail.com>
|
Thanks, was just coming to do that |
|
Woah, hold up, this thing doesn't make PRs anymore Wesley Wigham (@weswigham)? |
|
Uhhh, that's news to me, especially since I had it open a PR (#36644) just the other day after it was updated. |
|
I think I'm being lied to and that Orta Therox (@orta) manually cherry-picked it, since the cherry-pick script in this branch is out of date :P (y'know, since the last build for this branch is a failure) |
Fixes #20766 - Some of the interesting notes are in orta#1