Skip to content

Commit 8a275c5

Browse files
committed
feat(@typescript-eslint): enable switch-exhaustiveness-check
It's a no-brainer given we have `default-case` enabled
1 parent eadef42 commit 8a275c5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

@typescript-eslint.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ const config = {
103103
'@typescript-eslint/require-array-sort-compare': 'warn',
104104
// yes: with types, this is actually useful and correct
105105
'@typescript-eslint/return-await': 'error',
106+
'@typescript-eslint/switch-exhaustiveness-check': 'error',
106107
'@typescript-eslint/unified-signatures': 'warn', // can be a bit wrong
107108
'array-callback-return': 'off',
108109
'block-scoped-var': 'off',

0 commit comments

Comments
 (0)