title: How to return a spread operator in a map arrow function in one line
body: <p>What I need to do is map over an Array and set a value to false on all of the objects. This was my first shot:</p>
  
  <pre><code>data = data.map((item) =&gt; {
    item.active = false;
    return item;
  })
  </code></pre>
  
  <p>Works! But then there is Eslint, <a href="https://eslint.org/docs/rules/no-param-reassign" rel="noreferrer">no-param-reassign</a>. So I had to find something else. After some googling I found the spread operator! Awesome! I created this masterpiece:</p>
  
  <pre><code>data = data.map((item) =&gt; {
    return {...item, active: false}
  })
  </code></pre>
  
  <p>Looks cool and works as well. But then there is Eslint again, <a href="https://eslint.org/docs/rules/arrow-body-style" rel="noreferrer">arrow-body-style</a>. ok fine I will return the object on the same line:</p>
  
  <pre><code>data = data.map(item =&gt; {...item, active: false});
  </code></pre>
  
  <p>Dosn't work! :'( Am I missing something?</p>