Stop ReSharper from putting JavaScript function parameter onto new line : <p>How can I stop ReSharper formatting from turning this:</p>

<pre><code>define(['Spec'], function (Spec) {

});
</code></pre>

<p>into this:</p>

<pre><code>define(['Spec'],
    function(Spec) {

    });
</code></pre>

<p>I've tried various combinations of settings but have not hit upon the right one yet. </p>
