Skip to content

Commit

Permalink
Changes no-unused-expressions lint from warning to error (#2319)
Browse files Browse the repository at this point in the history
* Changes no-unused-expressions lint from warning to error

* Update index.js

* Update index.js
  • Loading branch information
amupitan authored and gaearon committed Jan 17, 2018
1 parent 272edff commit ed27629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-config-react-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ module.exports = {
'no-unexpected-multiline': 'warn',
'no-unreachable': 'warn',
'no-unused-expressions': [
'warn',
'error',
{
allowShortCircuit: true,
allowTernary: true,
Expand Down

0 comments on commit ed27629

Please # to comment.