Skip to content

Commit 2f536a4

Browse files
amupitanakstuhl
authored andcommittedMar 15, 2018
Changes no-unused-expressions lint from warning to error (facebook#2319)
* Changes no-unused-expressions lint from warning to error * Update index.js * Update index.js
1 parent 15e3a89 commit 2f536a4

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)
Please sign in to comment.