title: How to config the `no-cycle` rule in eslint-plugin-import for typescript?
body: <p>There are three <code>.ts</code> files, <code>a.ts</code> and <code>b.ts</code> are circular imported each other, while <code>c.ts</code> imports both <code>a.ts</code> and <code>b.ts</code>.</p>
  <p>When checking <code>c.ts</code>, I expect that ESLint reports the circular depencency.</p>
  <p>But for some reason, running <code>yarn eslint src/c.ts</code> does NOT raise any error !!!</p>
  <p><code>a.ts</code>:</p>
  <pre><code>import y from &quot;./b&quot;;
  
  const x: number = y + 1;
  export default x;
  </code></pre>
  <p><code>b.ts</code>:</p>
  <pre><code>import x from &quot;./a&quot;;
  
  const y: number = x + 1;
  export default y;
  </code></pre>
  <p><code>c.ts</code>:</p>
  <pre><code>import x from &quot;./a&quot;;
  import y from &quot;./b&quot;;
  
  console.log(x, y);
  </code></pre>
  <p>and the <code>.eslintrc.json</code>:</p>
  <pre><code>{
    &quot;extends&quot;: [
      &quot;eslint:recommended&quot;,
      &quot;plugin:@typescript-eslint/recommended&quot;,
      &quot;plugin:import/errors&quot;,
      &quot;plugin:import/warnings&quot;,
      &quot;plugin:import/typescript&quot;
    ],
    &quot;plugins&quot;: [&quot;@typescript-eslint&quot;, &quot;import&quot;],
    &quot;parser&quot;: &quot;@typescript-eslint/parser&quot;,
    &quot;parserOptions&quot;: {
      &quot;project&quot;: &quot;./tsconfig.json&quot;
    },
    &quot;settings&quot;: {
      &quot;import/extensions&quot;: [&quot;.js&quot;, &quot;.jsx&quot;, &quot;.ts&quot;, &quot;.tsx&quot;],
      &quot;import/parsers&quot;: {
        &quot;@typescript-eslint/parser&quot;: [&quot;.ts&quot;, &quot;.tsx&quot;]
      }
    },
    &quot;rules&quot;: {
      &quot;import/no-cycle&quot;: [
        &quot;error&quot;,
        {
          &quot;maxDepth&quot;: 10,
          &quot;ignoreExternal&quot;: true
        }
      ]
    }
  }
  </code></pre>
  <p>The github repo:  <a href="https://github.com/Yaojian/no-cycle-test" rel="nofollow noreferrer">https://github.com/Yaojian/no-cycle-test</a></p>