From 0efec1a3db9d9bc15dd6b71f12fe31729475e062 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 31 May 2016 00:39:36 -0700 Subject: [PATCH] Migrate ESLint rules config to ESLint 2.0.0 Refs http://eslint.org/docs/user-guide/migrating-to-2.0.0 --- js/.eslintrc.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/.eslintrc.json b/js/.eslintrc.json index 619df7cb3d..b866b125bf 100644 --- a/js/.eslintrc.json +++ b/js/.eslintrc.json @@ -55,7 +55,6 @@ "no-case-declarations": 2, "no-div-regex": 2, "no-else-return": 2, - "no-empty-label": 2, "no-eq-null": 2, "no-eval": 2, "no-extend-native": 2, @@ -125,6 +124,7 @@ "func-style": 0, "indent": [2, 2, {"SwitchCase": 1}], "key-spacing": 0, + "keyword-spacing": 2, "linebreak-style": 2, "lines-around-comment": 0, "new-cap": 0, @@ -153,13 +153,11 @@ "semi": [2, "never"], "semi-spacing": 2, "sort-vars": 2, - "space-after-keywords": 2, "space-before-blocks": 2, "space-before-function-paren": 0, "spaced-comment": 2, "space-infix-ops": 2, "space-in-parens": 2, - "space-return-throw-case": 2, "space-unary-ops": 2, // es6