Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
no-return-assign
1 parent 3a9e1c8 commit 57ff032Copy full SHA for 57ff032
packages/eslint-config-airbnb-base/rules/best-practices.js
@@ -205,7 +205,7 @@ module.exports = {
205
}],
206
207
// disallow use of assignment in return statement
208
- 'no-return-assign': 'error',
+ 'no-return-assign': ['error', 'always'],
209
210
// disallow redundant `return await`
211
'no-return-await': 'error',
0 commit comments