At @biomejs.dev, we're about to implement a lint rule that checks the exhaustiveness of switch cases. It uses inferred types!! github.com/biomejs/biom...
feat(lint): implement `useExhaustiveSwitchCases` - `typescript-eslint/switch-exhaustiveness-check` by siketyan · Pull Request #5762 · biomejs/biome
Summary Initial implementation of a new rule useExhaustiveSwitchCases, which is an equivalent to typescript-eslint/switch-exhaustiveness-check. I left code actions and options for future improvemen...
github.com