Skip to content

Commit

Permalink
Relax no-cond-assign rule (#3716)
Browse files Browse the repository at this point in the history
Fixes #2793
  • Loading branch information
gaearon authored Jan 8, 2018
1 parent 419e4d8 commit ce07e98
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 @@ -116,7 +116,7 @@ module.exports = {
'new-parens': 'warn',
'no-array-constructor': 'warn',
'no-caller': 'warn',
'no-cond-assign': ['warn', 'always'],
'no-cond-assign': ['warn', 'except-parens'],
'no-const-assign': 'warn',
'no-control-regex': 'warn',
'no-delete-var': 'warn',
Expand Down

0 comments on commit ce07e98

Please sign in to comment.