Replace NodeJS dict aliases with maps and named field reads #24
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user