title: How to use the create-react-app 3.1.0 eslint customisation?
body: <p><strong>Edit</strong>: This was a bug in 3.1.0 - upgrade to 3.1.1+ to get a working version of this feature.</p>
  
  <hr>
  
  <p>create-react-app 3.1.0 is supposed to have support for customising the eslint warnings, as per: <a href="https://github.com/facebook/create-react-app/pull/7036" rel="nofollow noreferrer">https://github.com/facebook/create-react-app/pull/7036</a></p>
  
  <p>The documentation is here: <a href="https://facebook.github.io/create-react-app/docs/setting-up-your-editor#experimental-extending-the-eslint-config" rel="nofollow noreferrer">https://facebook.github.io/create-react-app/docs/setting-up-your-editor#experimental-extending-the-eslint-config</a></p>
  
  <p>I believe the rule setting I have in my package.json is correct because IDEA picks it up and no longer dislays the dot-location warning in the editor.</p>
  
  <p>But <code>npm start</code> still complains with: </p>
  
  <pre><code>./src/Auth/AuthenticationProvider.tsx
    Line 135:  Expected dot to be on same line as property  dot-location
  </code></pre>
  
  <p>My <code>package.json</code> is as per the documentation and I've added the <code>EXTEND_ESLINT</code> variable to the <code>.env</code> file.</p>
  
  <p>My <code>package.json</code> config:</p>
  
  <pre><code>"eslintConfig": {
    "extends": [
      "react-app"
    ],
    "rules": {
      "dot-location": "off"
    }
  },
  </code></pre>
  
  <p>The environment variable is set in my <code>.env</code> file.</p>
  
  <p>And the example failing source code looks like: </p>
  
  <pre><code>   props.auth0Client.loginWithRedirect().
        catch((e)=&gt;{errorHandler(e)});
  </code></pre>
  
  <p>What am I doing wrong?</p>
  
  <p>Am I misunderstanding how <code>eslint</code> config works, or maybe I'm wrong about what this new feature of create-react-app is actually supposed to do?</p>
  
  <p>Please note: I don't want to add annotations to my code everywhere to disable the warning - the question is about customising the <code>eslint</code> config.</p>