title: How to cofigure tslint or prettier to remove whitespace between if/while/for and ()?
body: <p>I'm setting up react project and format my code with tslint, prettier and tslint-config-prettier. Also autoFormat with vscode.</p>
  
  <p>How can I remove space between if/while/for and parenthese like 'if()' not 'if ()'?</p>
  
  <p>I couldn't find the option related with this in tslint and prettier. But I found <a href="https://eslint.org/docs/rules/keyword-spacing.html" rel="nofollow noreferrer">'keyword-spacing'</a> in eslint. So I expect tslint and prettier to inclue something like keyword-spacing.</p>
  
  <p>tslint.json</p>
  
  <pre><code>{
      "extends": ["tslint:recommended", "tslint-react", "tslint-config-prettier"],
      "linterOptions": {
          "exclude": [
              "config/**/*.js",
              "node_modules/**/*.ts",
              "coverage/lcov-report/*.js"
          ]
      },
      "rules": {
          "class-name": true,
          "comment-format": [true, "check-space"],
          "curly": true,
          "interface-name": false,
          "interface-over-type-literal": false,
          "jsx-boolean-value": false,
          "no-console": false,
          "no-duplicate-variable": true,
          "no-empty-interface": true,
          "no-internal-module": true,
          "no-var-keyword": true,
          "object-literal-sort-keys": false,
          "ordered-imports": false
      }
  }
  </code></pre>
  
  <p>.prettierrc</p>
  
  <pre><code>{
      "trailingComma": "es5",
      "tabWidth": 4,
      "semi": true,
      "singleQuote": true,
      "bracketSpacing": true,
      "quotes": true,
      "jsxSingleQuote": false
  }
  </code></pre>
  
  <p>settings.json (in vscode for reference)</p>
  
  <pre><code>{
      "editor.formatOnSave": true,
      "tslint.enable": true,
      "tslint.jsEnable": true,
      "tslint.alwaysShowRuleFailuresAsWarnings": true,
      "tslint.alwaysShowStatus": true,
      "tslint.autoFixOnSave": true
  }
  </code></pre>
  
  <p>expected:</p>
  
  <pre><code>let i: number = 0;
  if(i &lt;= 10) {
      i++;
  }
  </code></pre>
  
  <p>actual:</p>
  
  <pre><code>let i: number = 0;
  if (i &lt;= 10) {
      i++;
  }
  </code></pre>
  
  <p>Thanks a lot in advance!</p>