title: Visual studio code turn off ES6 validation on specific folder
body: <p>I have a large project I am working on that uses ES6 Javascript. However a particular "plugins" folder still uses ES5 Javascript.</p>
  
  <p>In Visual studio code any Javascript file I open that is within this "plugins" folder, it underlines everything red thinking there are syntax errors.</p>
  
  <p>Is there a way I can tell Visual studio code not to lint the plugins folder as ES6?</p>
  
  <p>I tried...
  <a href="https://code.visualstudio.com/Docs/languages/javascript" rel="nofollow noreferrer">https://code.visualstudio.com/Docs/languages/javascript</a></p>
  
  <p>I have tried adding an "jsconfig.json" in the root of the "plugins" folder with the following content(but it hasn't worked).</p>
  
  <pre><code>{
    "compilerOptions": {
    "target": "ES6"
  },
    "exclude": [
      "plugins",
      "**/plugins/*"
    ]
  }
  </code></pre>