title: arrow function Parsing error: Unexpected token >
body: <p>I get a syntax error on line 7. I can not understand why. Here is the code below, and below that is a picture of the error. I realize that this question may be a duplicate, but I can not find a solution to my problem.</p>
  
  <pre><code>var arr = [1, 2, 3];
  
  arr.indexOf() == -1;
  
  var arr = [{id: 1}, {id: 2}, {id: 3}];
  
  var usersIds = arr.map(user =&gt; user.id);
  
  arr.map(user =&gt; user.id).forEach( id =&gt; { console.log(id) } );
  
  arr.map(user=&gt; user.status = "ACTIVE");
  </code></pre>
  
  <p>.eslintrc:</p>
  
  <pre><code>{
    "plugins": [
      "more"
    ],
  
    "rules": {
      'more/no-void-map': 2,
      "more/no-c-like-loops": 2,
      "more/prefer-includes": 2,
      "more/no-then": 2,
      "more/no-window": 2,
      "more/no-numeric-endings-for-variables": 2,
      "more/force-native-methods": 2,
      "more/no-duplicated-chains": 2,
      "more/classbody-starts-with-newline": [2, 'never']
    }
  }
  </code></pre>
  
  <p>Error:</p>
  
  <p><a href="https://i.stack.imgur.com/tsyiU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tsyiU.png" alt="enter image description here"></a></p>
  
  <p>I received the error from my newly installed package <code>eslint</code>, if that helps. </p>
  
  <p>Below are my eslint and node version:</p>
  
  <p><a href="https://i.stack.imgur.com/F15Io.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/F15Io.png" alt="enter image description here"></a></p>