From bf4003badfdc7e613481fe8242cf3631b438182b Mon Sep 17 00:00:00 2001 From: detachhead Date: Wed, 17 Apr 2024 18:06:11 +1000 Subject: [PATCH] fix `reportImplicitRelativeImport` not being treated as a diagnostic level rule --- packages/pyright-internal/src/common/configOptions.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/pyright-internal/src/common/configOptions.ts b/packages/pyright-internal/src/common/configOptions.ts index 9bc677db1..b86f6f8cc 100644 --- a/packages/pyright-internal/src/common/configOptions.ts +++ b/packages/pyright-internal/src/common/configOptions.ts @@ -507,6 +507,7 @@ export function getDiagLevelDiagnosticRules() { DiagnosticRule.reportAny, DiagnosticRule.reportIgnoreCommentWithoutRule, DiagnosticRule.reportInvalidCast, + DiagnosticRule.reportImplicitRelativeImport, DiagnosticRule.reportPrivateLocalImportUsage, ]; }