diff --git a/pyrightconfig.json b/pyrightconfig.json index 5e63976c9eab..74ddb65b85f6 100644 --- a/pyrightconfig.json +++ b/pyrightconfig.json @@ -28,8 +28,6 @@ // No effect in stubs "reportMissingSuperCall": "none", "reportUninitializedInstanceVariable": "none", - // stdlib stubs trigger reportShadowedImports - "reportShadowedImports": "none", // Stubs are allowed to use private variables "reportPrivateUsage": "none", // Stubs don't need the actual modules to be installed diff --git a/pyrightconfig.scripts_and_tests.json b/pyrightconfig.scripts_and_tests.json index 68bcd2688ad2..f9b093547281 100644 --- a/pyrightconfig.scripts_and_tests.json +++ b/pyrightconfig.scripts_and_tests.json @@ -14,7 +14,6 @@ "reportImplicitStringConcatenation": "none", // Extra strict settings "reportMissingModuleSource": "error", - "reportShadowedImports": "error", "reportCallInDefaultInitializer": "error", "reportPropertyTypeMismatch": "error", "reportUninitializedInstanceVariable": "error", diff --git a/pyrightconfig.stricter.json b/pyrightconfig.stricter.json index 4c9e369f0a37..b0e5e63e3125 100644 --- a/pyrightconfig.stricter.json +++ b/pyrightconfig.stricter.json @@ -109,8 +109,6 @@ // No effect in stubs "reportMissingSuperCall": "none", "reportUninitializedInstanceVariable": "none", - // stdlib stubs trigger reportShadowedImports - "reportShadowedImports": "none", // Stubs are allowed to use private variables "reportPrivateUsage": "none", // Stubs don't need the actual modules to be installed diff --git a/pyrightconfig.testcases.json b/pyrightconfig.testcases.json index a957cc694f18..ab1cb86b9900 100644 --- a/pyrightconfig.testcases.json +++ b/pyrightconfig.testcases.json @@ -6,7 +6,6 @@ ], "typeCheckingMode": "strict", // Extra strict settings - "reportShadowedImports": "error", // Don't accidentally name a file something that shadows stdlib "reportImplicitStringConcatenation": "error", "reportUninitializedInstanceVariable": "error", "reportUnnecessaryTypeIgnoreComment": "error",