title: Turn off ESLint rule (in React app, using WebStorm)
body: <p>I am writing a React app in WebStorm using the standard React setup. I have never previously explicitly set up any linting, so whatever error/warning messages are showing up are from some sort of default configuration. When I run <code>npm start</code> I get the following warning:</p>
  
  <pre><code>Compiled with warnings.
  
  Warning in ./path/to/MyComponent.js
  
  /my/complete/path/to/MyComponent.js
    19:49  warning  Unexpected whitespace before property bind  no-whitespace-before-property
  ...
  You may use special comments to disable some warnings.
  Use // eslint-disable-next-line to ignore the next line.
  Use /* eslint-disable */ to ignore all warnings in a file.
  </code></pre>
  
  <p>The last two lines make it explicitly clear that the warnings are from ESLint (as opposed to, say, JSHint or some custom React linting, etc.).</p>
  
  <p>I want to keep ESLint running, i.e. I don't just want to globally disable all linting. However, I want to turn the "no-whitespace-before-property" warning off everywhere, not just on one line or in one file. How do I do that?</p>
  
  <p>My <code>package.json</code> shows the following for <code>npm start</code> (which is what I run when the warnings appear):</p>
  
  <pre><code>"scripts": {
    "start": "react-scripts start",
    ...
  }
  </code></pre>
  
  <p>I am developing in WebStorm. The ESLint preferences panel has the "Enable" checkbox unchecked, so all of the ESLint configuration options in the IDE are grayed-out and presumably irrelevant, so presumably also the configuration and invocation of ESLint are happening elsewhere (e.g. built into React?).</p>
  
  <p>I tried putting the following <code>.eslintrc.json</code> file into my project home directory:</p>
  
  <pre><code>{
    "rules": {
      "no-whitespace-before-property": "off"
    }
  }
  </code></pre>
  
  <p>alone as well as with <code>"extends": "eslint:recommended"</code>.</p>
  
  <p>I tried adding the following to my project's <code>package.json</code> file:</p>
  
  <pre><code>{
    ...
    "eslintConfig": {
      "rules": {
        "no-whitespace-before-property": "off"
      }
    }
  }
  </code></pre>
  
  <p>I've also tried setting the value to <code>0</code> instead of to <code>"off"</code>.</p>
  
  <p>It may or may not be relevant that I'm writing a React app, and it may or may not be relevant that I'm developing in WebStorm, but I include those facts just in case.</p>
  
  <p>I've checked around on StackOverflow and can't find an answer.</p>