Skip to content

Commit ce07e98

Browse files
authored
Relax no-cond-assign rule (#3716)
Fixes #2793
1 parent 419e4d8 commit ce07e98

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)