From 4a828b091d26d467b8ba53707ed3292fbf45d0f7 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 01:38:42 +0400 Subject: feat(eslint): Rule "no-lone-blocks" Signed-off-by: Valentin Popov --- src/rules/default.json | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/rules/default.json') diff --git a/src/rules/default.json b/src/rules/default.json index e50530f..8f2d02a 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -254,6 +254,9 @@ "no-labels": [ "error" ], + "no-lone-blocks": [ + "error" + ], "no-magic-numbers": [ "warn", { -- cgit v1.2.3