title: How to get local eslint plugins to work with locally installed eslint
body: <p>According to the docs plugins should work if they are npm modules named "eslint-plugin-"</p>
  
  <p><a href="https://www.npmjs.com/package/eslint-plugin-require" rel="noreferrer">Here's a plugin that follows that pattern</a>. <a href="https://github.com/bregenspan/eslint-plugin-require" rel="noreferrer">Source is here</a>.</p>
  
  <p>So, we make a new project</p>
  
  <pre><code>md foo
  cd foo
  npm init
  ... answer questions ..
  npm install --save-dev eslint
  npm install --save-dev eslint-plugin-require
  echo "define(function(){});" &gt; test.js
  echo "{\"rules\":{\"require\": 2}}" &gt; conf.json
  node node_modules/eslint/bin/eslint.js -c conf.json --plugin eslint-plugin-require test.js
  </code></pre>
  
  <p>produces</p>
  
  <pre><code>~/node_modules/eslint/lib/eslint.js:569
                  throw new Error("Definition for rule '" + key + "' was not
                        ^
  Error: Definition for rule 'require' was not found. 
  </code></pre>
  
  <p>change the config to</p>
  
  <pre><code>echo "{\"rules\":{\"eslint-plugin-require\": 2}}" &gt; conf.json
  </code></pre>
  
  <p>nor</p>
  
  <pre><code>echo "{\"rules\":{\"require-define\": 2}}" &gt; conf.json
  </code></pre>
  
  <p>nor</p>
  
  <pre><code>echo "{\"rules\":{\"require-require-define\": 2}}" &gt; conf.json
  </code></pre>
  
  <p>nor</p>
  
  <pre><code>echo "{\"rules\":{\"eslint-plugin-require-define\": 2}}" &gt; conf.json
  </code></pre>
  
  <p>nor</p>
  
  <pre><code>echo "{\"rules\":{\"eslint-plugin-require-require-define\": 2}}" &gt; conf.json
  </code></pre>
  
  <p>does not fix it</p>
  
  <p>How do I use locally installed eslint plugins?</p>