From d0cf8b93cba38c96241a8d26cf80435eef3abd6b Mon Sep 17 00:00:00 2001 From: Danny Kim Date: Mon, 19 Oct 2026 23:36:54 +0900 Subject: [PATCH] State the agreed reason for turning default-case off --- scripts/project-lint.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/project-lint.ts b/scripts/project-lint.ts index e2dd491..02ddbc0 100644 --- a/scripts/project-lint.ts +++ b/scripts/project-lint.ts @@ -772,7 +772,7 @@ const rules: DummyRuleMap = { "consistent-return": "off", // TypeScript's type checking covers exhaustive switches. "typescript/switch-exhaustiveness-check": "off", - // A `default` on a switch over a union would hide a new member from TS. + // TypeScript checks completeness; a forced `default:` hides missing cases. "default-case": "off", // Off, too much churn: // Literal numbers read better than a constant per use.