From 656ba93cda9cd4ab38e032649aafb795993d5176 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Wed, 16 Sep 2015 13:58:18 -0700 Subject: [PATCH] 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! --- eslintrc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/eslintrc.json b/eslintrc.json index 2c786131..bed248a0 100644 --- a/eslintrc.json +++ b/eslintrc.json @@ -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,