Disabled reportUnitializedInstanceVariable in strict mode, as intended.

This commit is contained in:
Eric Traut 2021-07-14 16:46:21 -06:00
parent 2156f2eb73
commit 295db6af56
2 changed files with 2 additions and 2 deletions

View File

@ -297,7 +297,7 @@ The following table lists the default severity levels for each diagnostic rule w
| reportIncompatibleMethodOverride | "none" | "none" | "error" |
| reportIncompatibleVariableOverride | "none" | "none" | "error" |
| reportOverlappingOverload | "none" | "none" | "error" |
| reportUninitializedInstanceVariable | "none" | "none" | "error" |
| reportUninitializedInstanceVariable | "none" | "none" | "none" |
| reportInvalidStringEscapeSequence | "none" | "warning" | "error" |
| reportUnknownParameterType | "none" | "none" | "error" |
| reportUnknownArgumentType | "none" | "none" | "error" |

View File

@ -530,7 +530,7 @@ export function getStrictDiagnosticRuleSet(): DiagnosticRuleSet {
reportIncompatibleMethodOverride: 'error',
reportIncompatibleVariableOverride: 'error',
reportOverlappingOverload: 'error',
reportUninitializedInstanceVariable: 'error',
reportUninitializedInstanceVariable: 'none',
reportInvalidStringEscapeSequence: 'error',
reportUnknownParameterType: 'error',
reportUnknownArgumentType: 'error',