From ce6719e2887f4f2e984750c9d55026ff724a2bac Mon Sep 17 00:00:00 2001 From: Miodec Date: Mon, 7 Feb 2022 00:30:04 +0100 Subject: [PATCH] updated eslint config --- .eslintrc.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index dbe2a89be..91d762edd 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -25,7 +25,7 @@ }, "rules": { "json/*": ["error"], - "indent": ["error", 2], + "indent": ["error", 2, { "SwitchCase": 1 }], "linebreak-style": ["error", "unix"], "quotes": [ "error", @@ -34,6 +34,7 @@ ], "semi": ["error", "always"], "no-unused-vars": ["error", { "argsIgnorePattern": "^(_|e|event)" }], + "no-empty": ["error", { "allowEmptyCatch": true }], "require-path-exists/notEmpty": 2, "require-path-exists/tooManyArguments": 2, "require-path-exists/exists": [