From 14dc03ab7d909f4a2b49e1687b204c4909ac177c Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Sat, 12 Dec 2020 00:42:11 -0500 Subject: [PATCH] Add lint rule for array callback returns --- .eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.js b/.eslintrc.js index 400c528a48..d45cc5dd05 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -29,6 +29,7 @@ module.exports = { 'plugin:compat/recommended' ], rules: { + 'array-callback-return': ['error'], 'block-spacing': ['error'], 'brace-style': ['error', '1tbs', { 'allowSingleLine': true }], 'comma-dangle': ['error', 'never'],