From 20015c1f7a807a4665bf5ce26b197e38a3911f30 Mon Sep 17 00:00:00 2001 From: Franklin van de Meent Date: Fri, 18 Mar 2016 08:22:47 +0100 Subject: [PATCH] Test: updated eslint config --- .eslintrc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.eslintrc b/.eslintrc index 83ee1c5..bdd3564 100644 --- a/.eslintrc +++ b/.eslintrc @@ -38,6 +38,7 @@ "indent": [2, 2, { "SwitchCase": 1 }], + "keyword-spacing": 2, "key-spacing": [2, { "beforeColon": false, "afterColon": true @@ -128,7 +129,7 @@ "operator-assignment": [2, "always"], "operator-linebreak": [2, "none", { "overrides": { - "+": "after" + "+": "before" } }], "padded-blocks": [2, "never"], @@ -140,12 +141,10 @@ "before": false, "after": true }], - "space-after-keywords": [2, "always"], "space-before-blocks": [2, "always"], "space-before-function-paren": [2, "always"], "space-in-parens": [2, "never"], "space-infix-ops": 2, - "space-return-throw-case": 2, "space-unary-ops": [2, { "words": true, "nonwords": false