This repository was archived by the owner on May 12, 2025. It is now read-only.

Description
The TypeScript compiler only enforces this check if explicitly configured to do so: https://www.typescriptlang.org/tsconfig#allowUnreachableCode
(Default behaviour is just to surface an editor warning.)
no-unreachable is disabled here:
I think it would be more in-keeping with the spirit of this config to leave it enabled, rather than requiring users to have allowUnreachableCode: false in their tsconfig file to achieve the same behaviour.