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 --- src/rules/default.json | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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