From 2eef349b85174d6727723236a2fff6037cc4fdaf Mon Sep 17 00:00:00 2001 From: Ugo Stephant Date: Thu, 4 Jun 2020 14:39:32 +0200 Subject: [PATCH] fix(core): allow pretty useful short circuits --- packages/eslint-config/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-config/index.js b/packages/eslint-config/index.js index f36b904c..615250d9 100644 --- a/packages/eslint-config/index.js +++ b/packages/eslint-config/index.js @@ -41,7 +41,7 @@ module.exports = { // ES6 fixes 'no-unused-expressions': OFF, - 'babel/no-unused-expressions': WARNING, + 'babel/no-unused-expressions': [WARNING, { allowShortCircuit: true }], // Standard 'standard/no-callback-literal': OFF,