title: Expected an assignment or function call and instead saw an expression no-unused-expressions error in React
body: <p>i am using React Router v4 in which i create a route file after creating a router path it gives a =n error as i mention of Expected an assignment or function call and instead saw an expression  no-unused-expressions.
  i try my best to solve it but cannot as i am beginner in React that's why.
  Kindly solve this issue.</p>
  
  <p>here is my code of router.js file.</p>
  
  <pre><code>import React, {Component} from 'react';
  import {
      BrowserRouter as Router,
      Route,
      Link
  
  } from 'react-router-dom';
  import App from '../App';
  
  const CustomRoute = () =&gt; {
  
      &lt;Router&gt; 
                 &lt;Route path="/" component={App} /&gt;
  
         &lt;/Router&gt; 
  }
  
  export default CustomRoute;
  </code></pre>