We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91b32a2 commit 90e3cc1Copy full SHA for 90e3cc1
packages/eslint-config-react-app/index.js
@@ -127,7 +127,10 @@ module.exports = {
127
'no-undef': 'error',
128
'no-unexpected-multiline': 'warn',
129
'no-unreachable': 'warn',
130
- 'no-unused-expressions': 'warn',
+ 'no-unused-expressions': ['warn', {
131
+ 'allowShortCircuit': true,
132
+ 'allowTernary': true
133
+ }],
134
'no-unused-labels': 'warn',
135
'no-unused-vars': ['warn', {
136
vars: 'local',
0 commit comments