mirror of
https://github.com/microsoft/pyright.git
synced 2024-09-11 07:55:56 +03:00
Changed "reportMissingSuperCall" to be off by default in strict mode.
This commit is contained in:
parent
6f0e07a0e5
commit
163ef21c3c
@ -310,7 +310,7 @@ The following table lists the default severity levels for each diagnostic rule w
|
|||||||
| reportIncompatibleVariableOverride | "none" | "none" | "error" |
|
| reportIncompatibleVariableOverride | "none" | "none" | "error" |
|
||||||
| reportInconsistentConstructor | "none" | "none" | "error" |
|
| reportInconsistentConstructor | "none" | "none" | "error" |
|
||||||
| reportOverlappingOverload | "none" | "none" | "error" |
|
| reportOverlappingOverload | "none" | "none" | "error" |
|
||||||
| reportMissingSuperCall | "none" | "none" | "error" |
|
| reportMissingSuperCall | "none" | "none" | "none" |
|
||||||
| reportUninitializedInstanceVariable | "none" | "none" | "none" |
|
| reportUninitializedInstanceVariable | "none" | "none" | "none" |
|
||||||
| reportInvalidStringEscapeSequence | "none" | "warning" | "error" |
|
| reportInvalidStringEscapeSequence | "none" | "warning" | "error" |
|
||||||
| reportUnknownParameterType | "none" | "none" | "error" |
|
| reportUnknownParameterType | "none" | "none" | "error" |
|
||||||
|
@ -561,7 +561,7 @@ export function getStrictDiagnosticRuleSet(): DiagnosticRuleSet {
|
|||||||
reportIncompatibleVariableOverride: 'error',
|
reportIncompatibleVariableOverride: 'error',
|
||||||
reportInconsistentConstructor: 'error',
|
reportInconsistentConstructor: 'error',
|
||||||
reportOverlappingOverload: 'error',
|
reportOverlappingOverload: 'error',
|
||||||
reportMissingSuperCall: 'error',
|
reportMissingSuperCall: 'none',
|
||||||
reportUninitializedInstanceVariable: 'none',
|
reportUninitializedInstanceVariable: 'none',
|
||||||
reportInvalidStringEscapeSequence: 'error',
|
reportInvalidStringEscapeSequence: 'error',
|
||||||
reportUnknownParameterType: 'error',
|
reportUnknownParameterType: 'error',
|
||||||
|
Loading…
Reference in New Issue
Block a user