From cefbe49db91a5c6a9ebac32efc77dc226662d38a Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 01:18:16 +0400 Subject: feat(eslint): Rule "no-empty" Signed-off-by: Valentin Popov --- src/rules/default.json | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/rules/default.json') diff --git a/src/rules/default.json b/src/rules/default.json index d3b3cb1..0621268 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -197,6 +197,12 @@ "no-debugger": [ "warn" ], + "no-empty": [ + "warn", + { + "allowEmptyCatch": false + } + ], "no-eval": [ "error", { -- cgit v1.2.3