From a4574ab3966c3e761bd6a08fdcce623042897da4 Mon Sep 17 00:00:00 2001 From: Kislay Date: Sun, 2 Jun 2024 11:32:05 +0530 Subject: [PATCH] lint: Fix prettier and eslint conflict. The two systems conflicted over indentations in switch case. --- backend/.eslintrc.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/backend/.eslintrc.json b/backend/.eslintrc.json index f3b3648..70fb569 100644 --- a/backend/.eslintrc.json +++ b/backend/.eslintrc.json @@ -11,7 +11,13 @@ }, "plugins": ["@typescript-eslint"], "rules": { - "indent": ["error", 4], + "indent": [ + "error", + 4, + { + "SwitchCase": 1 + } + ], "quotes": ["error", "single"], "semi": ["error", "always"] }