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.