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.
array-callback-return
allowImplicit
1 parent 9061044 commit 90235caCopy full SHA for 90235ca
packages/eslint-config-airbnb-base/rules/best-practices.js
@@ -5,7 +5,7 @@ module.exports = {
5
6
// enforces return statements in callbacks of array's methods
7
// https://eslint.org/docs/rules/array-callback-return
8
- 'array-callback-return': 'error',
+ 'array-callback-return': ['error', { allowImplicit: true }],
9
10
// treat var statements as if they were block scoped
11
'block-scoped-var': 'error',
0 commit comments