From 2c47407afbaade1cd591d1d7964c857dbd7d4335 Mon Sep 17 00:00:00 2001 From: tophf Date: Fri, 15 Dec 2017 09:37:46 +0300 Subject: [PATCH] eslintrc: allow shirt-circuit and ternary expressions --- .eslintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index af770b7a..2a121818 100644 --- a/.eslintrc +++ b/.eslintrc @@ -219,7 +219,7 @@ rules: no-unreachable: [2] no-unsafe-finally: [2] no-unsafe-negation: [2] - no-unused-expressions: [1] + no-unused-expressions: [1, {allowShortCircuit: true, allowTernary: true}] no-unused-labels: [0] no-unused-vars: [1, {args: after-used, vars: local, argsIgnorePattern: ^_}] no-use-before-define: [2, nofunc]