title: eslint Parsing error: Unexpected token function with async
body: <p>I am getting the following error in async usage on ESLINT.</p>
  
  <blockquote>
    <p>eslint Parsing error: Unexpected token function with async</p>
  </blockquote>
  
  <p>Here is my <code>eslintsrc</code></p>
  
  <pre><code>{
    "extends": "airbnb-base",
    "rules": {
      "no-console": "off",
      "func-style":"error",
      "import/no-extraneous-dependencies": ["error", {"devDependencies": false, "optionalDependencies": false, "peerDependencies": false, "packageDir": "./"}]
  },
  "parserOptions": {
    "ecmaVersion":8
   }
  }
  </code></pre>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Here is my async</p>
  
  <pre><code>const get = async function get(req, res) {
    const user = await service.get();
    console.log("From db",user.username);
    res.send('ok');
  };
  </code></pre>