From e757f7c0d83855da87a9601dbf95b2854f03c9ab Mon Sep 17 00:00:00 2001 From: Schuyler Cebulskie Date: Fri, 17 Mar 2017 01:44:42 -0400 Subject: [PATCH] Add two more ESLint rules, and move arrow-parens --- .eslintrc.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index c010cf24c..bdb7155ce 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -13,9 +13,8 @@ "no-extra-parens": ["warn", "all", { "nestedBinaryExpressions": false }], - "arrow-parens": ["error", "as-needed", { - "requireForBlockBody": false - }], + "no-template-curly-in-string": "error", + "no-unsafe-negation": "error", "valid-jsdoc": ["error", { "requireReturn": false, "requireReturnDescription": false, @@ -133,6 +132,9 @@ "unicode-bom": "error", "arrow-body-style": "error", + "arrow-parens": ["error", "as-needed", { + "requireForBlockBody": false + }], "arrow-spacing": "error", "no-duplicate-imports": "error", "no-useless-computed-key": "error",