mirror of
https://github.com/microsoft/pyright.git
synced 2024-08-17 03:40:44 +03:00
Changed reportOverlappingOverload to be an error in strict mode.
This commit is contained in:
parent
acdefc550c
commit
adabd54bf8
@ -258,7 +258,7 @@ The following table lists the default severity levels for each diagnostic rule w
|
||||
| reportConstantRedefinition | "none" | "none" | "error" |
|
||||
| reportIncompatibleMethodOverride | "none" | "none" | "error" |
|
||||
| reportIncompatibleVariableOverride | "none" | "none" | "error" |
|
||||
| reportOverlappingOverload | "none" | "none" | "none" |
|
||||
| reportOverlappingOverload | "none" | "none" | "error" |
|
||||
| reportInvalidStringEscapeSequence | "none" | "warning" | "error" |
|
||||
| reportUnknownParameterType | "none" | "none" | "error" |
|
||||
| reportUnknownArgumentType | "none" | "none" | "error" |
|
||||
|
@ -486,7 +486,7 @@ export function getStrictDiagnosticRuleSet(): DiagnosticRuleSet {
|
||||
reportConstantRedefinition: 'error',
|
||||
reportIncompatibleMethodOverride: 'error',
|
||||
reportIncompatibleVariableOverride: 'error',
|
||||
reportOverlappingOverload: 'none',
|
||||
reportOverlappingOverload: 'error',
|
||||
reportInvalidStringEscapeSequence: 'error',
|
||||
reportUnknownParameterType: 'error',
|
||||
reportUnknownArgumentType: 'error',
|
||||
|
Loading…
Reference in New Issue
Block a user