title: How do I setup Visual Studio Code to correct my code, based on the linting rules from my .eslintrc.js in the project root?
body: <p>Visual Studio Code IDE doesn't seem to find the error in the typescript code (a missing private/public):</p>
  
  <p><code>draggedFromListTask: TaskConfig;</code></p>
  
  <p>Running <code>eslint ./src/classes/sequence-handler.ts</code> from the project root gives the right error:</p>
  
  <blockquote>
    <p>25:5   error    Missing accessibility modifier on class property
    draggedFromListTask  @typescript-eslint/explicit-member-accessibility</p>
  </blockquote>
  
  <p>The <code>.eslintrc.js</code> is in the root. </p>
  
  <p>How do I know that the <code>eslint</code> command is using this <code>.eslintrc.js</code> file? And how do I make the <code>VS Code</code> to use this file to check my code?</p>
  
  <p>From the VS Code settings.json file: </p>
  
  <pre><code>"eslint.enable": true,
  "eslint.options": {
      "configFile": "C:\\ws\\intellilift\\RoboticDriller\\robotic_driller_frontend\\.eslintrc.js"
  }
  </code></pre>
  
  <p>`</p>