From 45dea9cb74835446e6c7fb8f5788e6f1dd6341ee Mon Sep 17 00:00:00 2001 From: Rebecca Stevens Date: Tue, 24 Aug 2021 20:40:45 +1200 Subject: [PATCH] fix: turn off default-case now that we are checking if exhaustive --- src/builtin/best-practices.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/builtin/best-practices.ts b/src/builtin/best-practices.ts index a044060e..393e97dc 100644 --- a/src/builtin/best-practices.ts +++ b/src/builtin/best-practices.ts @@ -22,7 +22,7 @@ export const rules: Linter.Config["rules"] = { }, ], "curly": ["error", "all"], - "default-case": "error", + "default-case": "off", "dot-location": ["error", "property"], "dot-notation": "error", "eqeqeq": ["error", "always", { null: "always" }],