Skip to content

Commit

Permalink
docs: Clarify usage of no-unreachable with TypeScript (#18445)
Browse files Browse the repository at this point in the history
docs: Clarify usage of no-unreachable with TypeScript

Fixes: #18378
  • Loading branch information
benj-dobs committed May 13, 2024
1 parent 1db9bae commit d23574c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/src/rules/no-unreachable.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
title: no-unreachable
rule_type: problem
handled_by_typescript: true
extra_typescript_info: >-
TypeScript must be configured with
[`allowUnreachableCode: false`](https://www.typescriptlang.org/tsconfig#allowUnreachableCode)
for it to consider unreachable code an error.
---


Expand Down

0 comments on commit d23574c

Please sign in to comment.