This commit is contained in:
@@ -772,7 +772,7 @@ const rules: DummyRuleMap = {
|
|||||||
"consistent-return": "off",
|
"consistent-return": "off",
|
||||||
// TypeScript's type checking covers exhaustive switches.
|
// TypeScript's type checking covers exhaustive switches.
|
||||||
"typescript/switch-exhaustiveness-check": "off",
|
"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",
|
"default-case": "off",
|
||||||
// Off, too much churn:
|
// Off, too much churn:
|
||||||
// Literal numbers read better than a constant per use.
|
// Literal numbers read better than a constant per use.
|
||||||
|
|||||||
Reference in New Issue
Block a user