title: Detect circular dependencies in project
body: <p>Last time i found in my project problem with circular dependencies. I resolve my problem but, i would like avoid this in future.
  I think about plugin which found circular dependencies in my all project and give me feedback.</p>
  
  <p>Example:</p>
  
  <p>File a.js:</p>
  
  <pre><code>var functionFromA= require("./b.js");
  console.log("file a", functionFromA);
  module.exports = {functionFromA: functionFromA};
  </code></pre>
  
  <p>File b.js:</p>
  
  <pre><code>var functionFromB = require("./c.js");
  console.log("file b", functionFromB );
  module.exports = {functionFromB : functionFromB };
  </code></pre>
  
  <p>File c.js:</p>
  
  <pre><code>var functionFromC = require("./a.js");
  console.log("file c", functionFromC );
  module.exports = {functionFromC : functionFromC }
  </code></pre>
  
  <p>When i run file a.js i see in console:<br>
  file c {}<br>
  file b { functionFromC: {} }<br>
  file a { functionFromB: { functionFromC: {} } }<br></p>
  
  <p>I found "Circular Dependency Plugin" in npm but i don't know how use it?
  May be someone has similar problem and found a solution?</p>