title: phpcs: Referenced sniff "WordPress" does not exist
body: <p>I've installed <code>phpcs</code> by following <a href="https://stackoverflow.com/a/55889259/877797">this answer</a>, and added the following to my Visual Code <code>settings.json</code>:</p>
  
  <pre><code>{
      "phpcs.enable": true,
      "phpcs.composerJsonPath": "wp-content/themes/wprig/composer.json",
      "phpcs.standard": "WordPress",
      "phpcs.executablePath": "/Users/Chris/.composer/vendor/bin/phpcs",
  }
  </code></pre>
  
  <p>However, when I edit a PHP file in a WordPress theme, Visual Code displays an error @ bottom right:</p>
  
  <pre><code>phpcs: Referenced sniff "WordPress" does not exist
  </code></pre>
  
  <p>If I run <code>phpcs -i</code> I receive: <code>The installed coding standards are PEAR, Zend, PSR2, MySource, Squiz, PSR1 and PSR12</code>.</p>
  
  <p>How do I install the WordPress coding standard for <code>phpcs</code> please?</p>
  
  <p><strong>Update</strong>: I followed the steps @ <a href="https://tommcfarlin.com/php-codesniffer-in-visual-studio-code/" rel="nofollow noreferrer">this tutorial</a>, specifically running:</p>
  
  <pre><code>./vendor/bin/phpcs --config-set installed_paths /Applications/AMPPS/www/example.local/wp-content/themes/dev/wpcs
  </code></pre>
  
  <p>(I receive a positive confirmation after this). And I add <code>"phpcs.standard": "WordPress",</code> to VS Code's <code>settings.json</code>, however the error remains, even after restarting VS Code.</p>
  
  <p>I have the WordPress coding standards directory @ <code>/Applications/AMPPS/www/example.local/wp-content/themes/dev/wpcs</code>.</p>
  
  <p>Help appreciated.</p>