From ed276295d6ab2c3509dd63e2af66b7ec90306339 Mon Sep 17 00:00:00 2001 From: Victor Amupitan Date: Wed, 17 Jan 2018 06:06:44 -0600 Subject: [PATCH] Changes no-unused-expressions lint from warning to error (#2319) * Changes no-unused-expressions lint from warning to error * Update index.js * Update index.js --- packages/eslint-config-react-app/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-config-react-app/index.js b/packages/eslint-config-react-app/index.js index f029f9626bf..6bb7897ff63 100644 --- a/packages/eslint-config-react-app/index.js +++ b/packages/eslint-config-react-app/index.js @@ -120,7 +120,7 @@ module.exports = { 'no-unexpected-multiline': 'warn', 'no-unreachable': 'warn', 'no-unused-expressions': [ - 'warn', + 'error', { allowShortCircuit: true, allowTernary: true,