Permalink
Browse files

New rule: Require spaces before keywords

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...
1 parent 0903c19 commit 656ba93cda9cd4ab38e032649aafb795993d5176 @feross committed Sep 16, 2015
Showing with 1 addition and 0 deletions.
  1. +1 −0 eslintrc.json
View
@@ -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,

0 comments on commit 656ba93

Please sign in to comment.