<p dir="auto">I am now experimenting with the ES6 import syntax (at least I think it's ES6) and I noticed that the following is formatted, in my opinion, wrongly:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import {
Controller as UploadController,
State as UploadState
} from './controllers/upload';"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span>
<span class="pl-smi">Controller</span> <span class="pl-k">as</span> <span class="pl-smi">UploadController</span><span class="pl-kos">,</span>
<span class="pl-smi">State</span> <span class="pl-k">as</span> <span class="pl-smi">UploadState</span>
<span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'./controllers/upload'</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">should be:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import {
    Controller as UploadController,
    State as UploadState
} from './controllers/upload';"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span>
    <span class="pl-smi">Controller</span> <span class="pl-k">as</span> <span class="pl-smi">UploadController</span><span class="pl-kos">,</span>
    <span class="pl-smi">State</span> <span class="pl-k">as</span> <span class="pl-smi">UploadState</span>
<span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'./controllers/upload'</span><span class="pl-kos">;</span></pre></div>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export{x,y as yy,z}from &quot;foo&quot;"><pre class="notranslate"><span class="pl-k">export</span><span class="pl-kos">{</span><span class="pl-s1">x</span><span class="pl-kos">,</span><span class="pl-s1">y</span> <span class="pl-k">as</span> <span class="pl-s1">yy</span><span class="pl-kos">,</span><span class="pl-s1">z</span><span class="pl-kos">}</span><span class="pl-k">from</span> <span class="pl-s">"foo"</span></pre></div>
<p dir="auto">Should be fixed to</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export { x, y as yy, z } from &quot;foo&quot;"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-kos">{</span> <span class="pl-s1">x</span><span class="pl-kos">,</span> <span class="pl-s1">y</span> <span class="pl-k">as</span> <span class="pl-s1">yy</span><span class="pl-kos">,</span> <span class="pl-s1">z</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"foo"</span></pre></div>
<p dir="auto">Similarly,</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import{x,y as yy,z}from &quot;foo&quot;"><pre class="notranslate"><span class="pl-k">import</span><span class="pl-kos">{</span><span class="pl-s1">x</span><span class="pl-kos">,</span><span class="pl-s1">y</span> <span class="pl-k">as</span> <span class="pl-s1">yy</span><span class="pl-kos">,</span><span class="pl-s1">z</span><span class="pl-kos">}</span><span class="pl-k">from</span> <span class="pl-s">"foo"</span></pre></div>
<p dir="auto">Should be fixed to</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { x, y as yy, z } from &quot;foo&quot;"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">x</span><span class="pl-kos">,</span> <span class="pl-s1">y</span> <span class="pl-k">as</span> <span class="pl-s1">yy</span><span class="pl-kos">,</span> <span class="pl-s1">z</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"foo"</span></pre></div>