diff --git a/packages/eslint-config-airbnb-base/rules/best-practices.js b/packages/eslint-config-airbnb-base/rules/best-practices.js index 3fd0ff10..978cafc6 100644 --- a/packages/eslint-config-airbnb-base/rules/best-practices.js +++ b/packages/eslint-config-airbnb-base/rules/best-practices.js @@ -5,7 +5,7 @@ module.exports = { // enforces return statements in callbacks of array's methods // https://eslint.org/docs/rules/array-callback-return - 'array-callback-return': 'error', + 'array-callback-return': ['error', { allowImplicit: true }], // treat var statements as if they were block scoped 'block-scoped-var': 'error',