From af3419c2dda8e9e09c0caff34604a76461e036d3 Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Mon, 8 Apr 2019 11:46:11 -0400 Subject: [PATCH] update eslint to allow short circuit ternary chains --- .eslintrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc b/.eslintrc index 2131031f6b..463676d62b 100644 --- a/.eslintrc +++ b/.eslintrc @@ -48,6 +48,7 @@ "object-curly-newline": "off", "space-before-function-paren": ["error", "always"], "no-trailing-spaces": ["error"], + "no-unused-expressions": ["error", { "allowShortCircuit": true }], "react/prefer-stateless-function": "off", "react/prop-types": "off", "jsx-a11y/label-has-for": "off",