From 2a3693ad359eae0bc930aefeb90018f0b0cda75c Mon Sep 17 00:00:00 2001 From: William So Date: Wed, 10 Apr 2024 02:07:11 +0800 Subject: [PATCH] Edit ESLint config Signed-off-by: William So --- .eslintrc.json | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 43b92b6..eacaad6 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -518,7 +518,10 @@ ], "indent": [ "error", - "tab" + "tab", + { + "SwitchCase": 1 + } ], "linebreak-style": "off", "max-classes-per-file": "off", @@ -805,14 +808,7 @@ } ], "sort-vars": "off", - "space-before-function-paren": [ - "error", - { - "anonymous": "never", - "asyncArrow": "always", - "named": "never" - } - ] + "space-before-function-paren": "off" }, "settings": { "import/resolver": {