Skip to content

Commit dbe3369

Browse files
gaearonPavel Zhytko
authored and
Pavel Zhytko
committedJul 10, 2018
Relax no-cond-assign rule (facebook#3716)
Fixes facebook#2793
1 parent 90c5432 commit dbe3369

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
@@ -116,7 +116,7 @@ module.exports = {
116116
'new-parens': 'warn',
117117
'no-array-constructor': 'warn',
118118
'no-caller': 'warn',
119-
'no-cond-assign': ['warn', 'always'],
119+
'no-cond-assign': ['warn', 'except-parens'],
120120
'no-const-assign': 'warn',
121121
'no-control-regex': 'warn',
122122
'no-delete-var': 'warn',

0 commit comments

Comments
 (0)
Please sign in to comment.