Why is tslint:recommended not allowing modules? : <p>We are using typescript v2.3.2 and TSLint v4.5.1 with VS Code to create a SPA. Codebase is growing and we need to modularize it someway.</p>

<p>I tried to do the modularization using typescript modules but found the following lint error when transpiling the app.</p>

<pre><code>[tslint] 'namespace' and 'module' are disallowed (no-namespace)
</code></pre>

<p>I'm using this configuration for the linter:</p>

<pre><code>{
  "extends": "tslint:recommended",
  "rules": {
    "no-var-requires": false,
    "no-console": ["error", false],
    "max-line-length": [false]
  }
}
</code></pre>

<p><a href="https://github.com/palantir/tslint/blob/master/src/configs/recommended.ts" rel="noreferrer">The recommended rules file</a> at line 89 shows this rule:</p>

<pre><code>"no-namespace": true,
</code></pre>

<p>I wonder if there is something wrong and what would be the best way to modularize a SPA, following good practices that are not obsolete soon.</p>

<p>Examples of code will be welcomed. Thank you very much.</p>
