mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-13 22:08:08 -05:00
[eslint config] [base] [patch] array-callback-return: enable allowImplicit option
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user