<p dir="auto">Have code like this:</p>
<p dir="auto">setTimeout(null, () =&gt; {</p>
<p dir="auto">});</p>
<p dir="auto">Run "Format". The end result is:</p>
<p dir="auto">setTimeout(null,() =&gt; {</p>
<p dir="auto">});</p>
<p dir="auto">There is a whitespace missing between "null" and the lambda.</p>
<p dir="auto">Not sure if it has been reported yet, tried to find similar issues but didn't find anything.</p>
<p dir="auto"><strong>TypeScript Version:</strong></p>
<p dir="auto">1.9.0-dev.20160518-1.0</p>
<p dir="auto"><strong>Code</strong></p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// A self-contained demonstration of the problem follows...
&lt;div name=&quot;test&quot;
     data=&quot;test&quot;
     onClick={() =&gt; { }}
&gt;
  &lt;div&gt;test&lt;/div&gt;
&lt;/div&gt;"><pre class="notranslate"><span class="pl-c">// A self-contained demonstration of the problem follows...</span>
<span class="pl-kos">&lt;</span><span class="pl-smi">div</span><span class="pl-kos"></span> <span class="pl-s1">name</span><span class="pl-c1">=</span><span class="pl-s">"test"</span>
     <span class="pl-s1">data</span><span class="pl-c1">=</span><span class="pl-s">"test"</span>
     <span class="pl-en">onClick</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span><span class="pl-kos">}</span>
<span class="pl-c1">&gt;</span>
  <span class="pl-kos">&lt;</span><span class="pl-smi">div</span><span class="pl-kos">&gt;</span><span class="pl-s1">test</span><span class="pl-c1">&lt;</span><span class="pl-pds"><span class="pl-c1">/</span>div&gt;</span>
<span class="pl-pds"><span class="pl-c1">&lt;</span><span class="pl-c1">/</span>div</span><span class="pl-c1">&gt;</span></pre></div>
<p dir="auto"><strong>Expected behavior:</strong><br>
Same as in example</p>
<p dir="auto"><strong>Actual behavior:</strong></p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;div name=&quot;test&quot;
    onClick={() =&gt; { } }
    data=&quot;test&quot;
    &gt;
    &lt;div&gt;test&lt;/div&gt;
&lt;/div&gt;
"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-smi">div</span><span class="pl-kos"></span> <span class="pl-s1">name</span><span class="pl-c1">=</span><span class="pl-s">"test"</span>
    <span class="pl-en">onClick</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span>
    <span class="pl-s1">data</span><span class="pl-c1">=</span><span class="pl-s">"test"</span>
    <span class="pl-c1">&gt;</span>
    <span class="pl-kos">&lt;</span><span class="pl-smi">div</span><span class="pl-kos">&gt;</span><span class="pl-s1">test</span><span class="pl-c1">&lt;</span><span class="pl-pds"><span class="pl-c1">/</span>div&gt;</span>
<span class="pl-pds"><span class="pl-c1">&lt;</span><span class="pl-c1">/</span>div</span><span class="pl-c1">&gt;</span></pre></div>
<ol dir="auto">
<li>Attributes need to aligned and take indentation from top attribute (name)</li>
<li>Closing tag indentation is a bit strange - any way to make it have same indentation level as opening one?</li>
</ol>