diff --git a/packages/eslint-config-react-app/index.js b/packages/eslint-config-react-app/index.js index c0cfc0ae437..ef369e359c3 100644 --- a/packages/eslint-config-react-app/index.js +++ b/packages/eslint-config-react-app/index.js @@ -127,7 +127,10 @@ module.exports = { 'no-undef': 'error', 'no-unexpected-multiline': 'warn', 'no-unreachable': 'warn', - 'no-unused-expressions': 'warn', + 'no-unused-expressions': ['warn', { + 'allowShortCircuit': true, + 'allowTernary': true + }], 'no-unused-labels': 'warn', 'no-unused-vars': ['warn', { vars: 'local',