Skip to content

Commit 6bbe0cc

Browse files
committed
Added support for new reportUnreachable diagnostic check.
1 parent e35474d commit 6bbe0cc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

client/PyrightConfigSettings.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,12 @@ export const configSettings: PyrightConfigSetting[] = [
570570
isEnabledInStandard: false,
571571
isEnabledInStrict: false,
572572
},
573+
{
574+
name: 'reportUnreachable',
575+
description: 'Controls reporting of unreachable code',
576+
isEnabledInStandard: false,
577+
isEnabledInStrict: false,
578+
},
573579
];
574580

575581
export const configSettingsAlphabetized = configSettings.sort((a, b) => {

0 commit comments

Comments
 (0)