diff --git a/packages/eslint-config-react-app/index.js b/packages/eslint-config-react-app/index.js index 419dc10e8d4..d00e80dd74c 100644 --- a/packages/eslint-config-react-app/index.js +++ b/packages/eslint-config-react-app/index.js @@ -92,6 +92,15 @@ module.exports = { typedefs: false, }, ], + 'no-unused-expressions': 'off', + '@typescript-eslint/no-unused-expressions': [ + 'error', + { + allowShortCircuit: true, + allowTernary: true, + allowTaggedTemplates: true, + }, + ], 'no-unused-vars': 'off', '@typescript-eslint/no-unused-vars': [ 'warn',