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,