eslint-config-xo-typescript icon indicating copy to clipboard operation
eslint-config-xo-typescript copied to clipboard

Consider disabling `default-case` because of `@typescript-eslint/switch-exhaustiveness-check`

Open EdJoPaTo opened this issue 1 year ago • 0 comments

With types the switch case default case can be determined way better than it can be in JavaScript. The default-case is useful in JavaScript but I only ignore it now with the updated @typescript-eslint/switch-exhaustiveness-check rules.

EdJoPaTo avatar Feb 06 '24 12:02 EdJoPaTo