Skip to content

Commit

Permalink
Relax no-cond-assign rule (facebook#3716)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored and Pavel Zhytko committed Jul 10, 2018
1 parent 90c5432 commit dbe3369
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 dbe3369

Please sign in to comment.