title: TSLint complains @Component's module.id "Corresponding file not included in tsconfig.json" (in WebStorm)
body: <p>Simple problem, in WebStorm:</p>
  
  <p><a href="https://i.stack.imgur.com/SBKIU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SBKIU.png" alt="@Component moduleId: module.id tslint error: Corresponding file is not included in tsconfig.json"></a></p>
  
  <p>In addition to that, <code>tsc</code> complains with:</p>
  
  <pre><code>error TS2304: Cannot find name 'module'.
  </code></pre>
  
  <p>I'm looking either:</p>
  
  <ol>
  <li>For something like <a href="http://jshint.com/docs/" rel="nofollow noreferrer">jshint's <code>"predef"</code></a> key that allows you to ignore global variables that are defined above the scope of the active inspection, or</li>
  <li>To add some annotation or import to my <code>@Component</code> that I have forgotten to allow TSLint to see <code>module</code>, <a href="https://github.com/angular/angular/issues/6053" rel="nofollow noreferrer">which comes from SystemJS</a>.</li>
  </ol>
  
  <p>Importantly, I <em>do not</em> want to add in-code <code>//noinspection TypeScriptUnresolvedVariable</code> because this <code>moduleId: module.id</code> pattern <a href="https://stackoverflow.com/questions/37178192/angular2-what-is-the-meanings-of-module-id-in-component">is well-known for Angular2</a> and required in every single component we have. It doesn't look like something that should be ignored systemically.</p>
  
  <p>I noticed that TSLint <a href="https://github.com/palantir/tslint/pull/981/commits/c7e5002043475b746e20fc4535e1bb51feb78655" rel="nofollow noreferrer">has an <code>ignore-pattern</code> directive</a>, but it's a subset of <code>no-unused-variable</code>, which is not what I'm looking for.</p>
  
  <p>I'm using WebStorm 2016.2.4 with TSLint 2 locally. Here is my tsconfig.json:</p>
  
  <pre><code>{
    "version": "2.0.3",
    "compileOnSave": false,
    "compilerOptions": {
      "outDir": "dist",
      "emitDecoratorMetadata": true,
      "experimentalDecorators": true,
      "target": "es6",
      "module": "system",
      "moduleResolution": "node",
      "removeComments": true,
      "sourceMap": true,
      "noImplicitAny": true,
      "allowSyntheticDefaultImports": true
    },
    "typeRoots": [ "node_modules/@types" ],
    "filesGlob": [
      "src/**/*.ts"
    ],
    "exclude": [
      "node_modules"
    ]
  }
  </code></pre>
  
  <p>I have also tried</p>
  
  <pre><code>"compilerOptions" {
    "target": "es5",
    "module: "commonjs",
    ... }
  </code></pre>
  
  <p>To no avail.</p>