title: Warning: Cannot find parent tsconfig.json
body: <p>I would like to fix the warning:</p>
  
  <blockquote>
    <p>Warning: Cannot find parent tsconfig.json</p>
  </blockquote>
  
  <p>in the TypeScript <code>Errors</code> tab in <code>IntelliJ IDEA 2016.3</code>. My TypeScript code lives in the <code>src</code> directory and my TypeScript output is going to <code>lib</code> as expected without the <code>src</code> folder being added to <code>lib</code>.</p>
  
  <p>I consume the <code>lib</code> folder in other projects and it seems to work as expected. So this doesn't seem to be a big problem, but I occasionally have a problem with TSLint where it sometimes does not seem to pick up a <code>.tsx</code> file is JSX and lints incorrectly and seems to occasionally treat it as a normal <code>.ts</code> file. Eventually it seems to figure it out. I am wondering if that is related as my TSLint settings are configured to use <code>tsconfig.json</code>. </p>
  
  <p>I have also previously had <code>.js</code> transpiled files turn up next to the <code>.ts</code> files in the <code>src</code> folder, but not since I modified my <code>tsconfig.json</code> recently.</p>
  
  <p>Files as follows:</p>
  
  <pre><code>tsconfig.json
  src/index.ts
  lib/index.js
  lib/index.d.ts
  </code></pre>
  
  <p>I've upgraded to TypeScript 2.1.4, but was seeing it with 2.0.10. </p>
  
  <p>My <code>tsconfig.json</code> file:</p>
  
  <pre><code>{
    "compilerOptions": {
      "target": "es5",
      "module": "commonjs",
      "moduleResolution": "node",
      "jsx": "react",
      "allowJs": false,
      "isolatedModules": false,
      "experimentalDecorators": true,
      "emitDecoratorMetadata": true,
      "declaration": true,
      "noImplicitAny": false,
      "noImplicitUseStrict": true,
      "noEmitHelpers": false,
      "removeComments": true,
      "noLib": false,
      "sourceMap": true,
      "inlineSources": true,
      "preserveConstEnums": true,
      "allowSyntheticDefaultImports": true,
      "suppressImplicitAnyIndexErrors": true,
      "rootDir": "./src",
      "outDir": "./lib"
    },
    "include": [
      "./src/**/*"
    ],
    "compileOnSave": true,
    "atom": {
      "rewriteTsconfig": false
    }
  }
  </code></pre>