title: How to get stylelint to work in Visual Studio Code?
body: <p>I am trying to get the stylelint extension to work in visual studio code. However, with no success so far. The extension with a short explanation is here:</p>
  
  <p><a href="https://marketplace.visualstudio.com/items?itemName=shinnn.stylelint" rel="nofollow noreferrer">https://marketplace.visualstudio.com/items?itemName=shinnn.stylelint</a></p>
  
  <p>What I did so far: Add </p>
  
  <pre><code>"stylelint.enable": true,
  "css.validate": false,
  "scss.validate": false,
  </code></pre>
  
  <p>to my settings. But this only deactivates the usual linting without activating stylelint. I also read at</p>
  
  <p><a href="https://stackoverflow.com/questions/47113226/stylelint-vscode-doesnt-work">Stylelint VScode doesn&#39;t work</a></p>
  
  <p>in a comment that one needs a <code>stylelint.config.js</code> file. However, I don't have one and don't know how to create or put it (in Windows).</p>
  
  <p><strong>Edit</strong></p>
  
  <p>I found an "example configuration" file of stylelint: </p>
  
  <p><a href="https://github.com/stylelint/stylelint/blob/master/docs/user-guide/example-config.md" rel="nofollow noreferrer">https://github.com/stylelint/stylelint/blob/master/docs/user-guide/example-config.md</a></p>
  
  <p>So, I guess part of that needs to go into the <code>stylelint.config.js</code>. But which are necessary to get it to work and where do I put it?</p>