Skip to content

Commit

Permalink
disable reportUnreachable in strict mode by default, sonce for now …
Browse files Browse the repository at this point in the history
…i want the defaults to match upstream
  • Loading branch information
DetachHead committed Jan 24, 2024
1 parent fa7bc44 commit 6d789ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pyright-internal/src/common/configOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ export function getStrictDiagnosticRuleSet(): DiagnosticRuleSet {
reportMatchNotExhaustive: 'error',
reportShadowedImports: 'none',
reportImplicitOverride: 'none',
reportUnreachable: 'error',
reportUnreachable: 'none',
};

return diagSettings;
Expand Down

0 comments on commit 6d789ad

Please sign in to comment.