From 0db2687006c75d9665b6706572e97523b073b4f8 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 01:22:27 +0400 Subject: feat(eslint): Rule "array-callback-return" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/default.json | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index e78818c..e0102ae 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -5,7 +5,7 @@ - [ ] "accessor-pairs" - [ ] "array-bracket-newline" - [ ] "array-bracket-spacing" -- [ ] "array-callback-return" +- [X] "array-callback-return" - [ ] "array-element-newline" - [ ] "arrow-body-style" - [X] "arrow-parens" diff --git a/src/rules/default.json b/src/rules/default.json index 6df0efe..1f2f54f 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -1,4 +1,10 @@ { + "array-callback-return": [ + "error", + { + "allowImplicit": false + } + ], "arrow-parens": [ "error", "always" -- cgit v1.2.3