From 7061ae1ad706832662d2c72bc866facae00676f2 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 02:31:45 +0400 Subject: feat(eslint): Rule "no-useless-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 9cdbcc9..0611be9 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -388,6 +388,9 @@ "ignoreImport": false } ], + "no-useless-return": [ + "error" + ], "no-var": [ "error" ], -- cgit v1.2.3