From 059976ca5a189f20c42875346021246b5789907f Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 11:59:25 +0400 Subject: feat(eslint): Rule "callback-return" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/default.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index b747c51..9ffc03a 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -13,7 +13,7 @@ - [ ] "block-scoped-var" - [ ] "block-spacing" - [X] "brace-style" -- [ ] "callback-return" +- [X] "callback-return" - [X] "camelcase" - [ ] "capitalized-comments" - [X] "class-methods-use-this" diff --git a/src/rules/default.json b/src/rules/default.json index 7bc82bd..98937aa 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -23,6 +23,9 @@ "allowSingleLine": false } ], + "callback-return": [ + "warn" + ], "camelcase": [ "error", { -- cgit v1.2.3