title: Prettier vscode extension ignoring config files
body: <p>I can't get the prettier extension to use my config files. It keeps using the global settings (as defined in the config path setting in vscode). I made an example project:</p>
  <p><a href="https://github.com/Supperhero1/prettierTest" rel="noreferrer">https://github.com/Supperhero1/prettierTest</a></p>
  <p>I set tabWidth to 1 in the .prettierrc file. When I run &quot;npx prettier --write .&quot; the prettier package properly formats the test.ts document to have an indentation of one, but if i save the file (I have format on save turned on) it gets formatted back to the global setting (4 spaces). I deleted all settings in the global setting but then it defaults to a tab with of two spaces. The extension seems to ignore the config file completely. A collegue has the extension and it works fine with config files.</p>
  <p>I'm trying to figure out what could be overriding the setting, the exension description says the precedence for figuring out settings is:</p>
  <pre><code>Prettier configuration file
  .editorconfig
  Visual Studio Code Settings (Ignored if any other configuration is present)
  </code></pre>
  <p>And in the official docs, the config file resolution precedence is:</p>
  <pre><code>A &quot;prettier&quot; key in your package.json file.
  A .prettierrc file written in JSON or YAML.
  ...
  </code></pre>
  <p>Seeing how I don't have a prettier key in my package.json file, there should be nothing that can override my .prettierrc file. I tried restarting vscode but that didn't help. Has anyone else had this issue, I'm not sure where to look to solve this problem...</p>