Skip to content

Commit

Permalink
Allow implicit undefined in array-callback-return
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed May 6, 2020
1 parent 06e4e14 commit f3c5dd2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion index.js
Expand Up @@ -80,7 +80,12 @@ module.exports = {
enforceForClassMembers: true
}
],
'array-callback-return': 'error',
'array-callback-return': [
'error',
{
allowImplicit: true
}
],
'block-scoped-var': 'error',
complexity: 'warn',
curly: 'error',
Expand Down

0 comments on commit f3c5dd2

Please sign in to comment.