Skip to content

Commit

Permalink
feat(@typescript-eslint): enable switch-exhaustiveness-check
Browse files Browse the repository at this point in the history
It's a no-brainer given we have `default-case` enabled
  • Loading branch information
G-Rath committed Nov 23, 2021
1 parent eadef42 commit 8a275c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions @typescript-eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ const config = {
'@typescript-eslint/require-array-sort-compare': 'warn',
// yes: with types, this is actually useful and correct
'@typescript-eslint/return-await': 'error',
'@typescript-eslint/switch-exhaustiveness-check': 'error',
'@typescript-eslint/unified-signatures': 'warn', // can be a bit wrong
'array-callback-return': 'off',
'block-scoped-var': 'off',
Expand Down

0 comments on commit 8a275c5

Please sign in to comment.