Skip to content

Commit ed27629

Browse files
amupitangaearon
authored andcommitted
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
1 parent 272edff commit ed27629

File tree

1 file changed

+1
-1
lines changed
  • packages/eslint-config-react-app

1 file changed

+1
-1
lines changed

packages/eslint-config-react-app/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ module.exports = {
120120
'no-unexpected-multiline': 'warn',
121121
'no-unreachable': 'warn',
122122
'no-unused-expressions': [
123-
'warn',
123+
'error',
124124
{
125125
allowShortCircuit: true,
126126
allowTernary: true,

0 commit comments

Comments
 (0)