title: Eslint disable no console not working
body: <p>I am trying to log to console something by disabling the no console rule in eslint like this:</p>
  
  <pre><code>// eslint-disable-next-line no-console
  console.log(props.hasSubmittedForm);
  </code></pre>
  
  <p>But, I get an error:</p>
  
  <blockquote>
    <p>Module build failed</p>
    
    <p>unexpected token</p>
  </blockquote>
  
  <p>For the dot the console.log.
  Why can't I log to the console like that?</p>