Skip to content

Commit

Permalink
New rule: Require spaces before keywords
Browse files Browse the repository at this point in the history
This is a new rule, but this style has always been required by
standard. Now we can actually enforce it with this new eslint rule!
  • Loading branch information
feross committed Sep 16, 2015
1 parent 0903c19 commit 656ba93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@
"space-after-keywords": [2, "always"],
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, "always"],
"space-before-keywords": [2, "always"],
"space-in-parens": [2, "never"],
"space-infix-ops": 2,
"space-return-throw-case": 2,
Expand Down

0 comments on commit 656ba93

Please sign in to comment.