2 title: space-after-keywords
7 Enforces consistent spacing after keywords.
9 (removed) This rule was **removed** in ESLint v2.0 and replaced by the [keyword-spacing](keyword-spacing) rule.
11 (fixable) The `--fix` option on the [command line](../user-guide/command-line-interface#--fix) automatically fixed problems reported by this rule.
13 Some style guides will require or disallow spaces following the certain keywords.
31 This rule will enforce consistency of spacing after the keywords `if`, `else`, `for`, `while`, `do`, `switch`, `try`, `catch`, `finally`, and `with`.
33 This rule takes one argument. If it is `"always"` then the keywords must be followed by at least one space. If `"never"`
34 then there should be no spaces following. The default is `"always"`.
36 Examples of **incorrect** code for this rule:
41 /*eslint space-after-keywords: "error"*/
55 /*eslint space-after-keywords: ["error", "never"]*/
62 Examples of **correct** code for this rule:
67 /*eslint space-after-keywords: "error"*/
79 /*eslint space-after-keywords: ["error", "never"]*/