Skip to content

Commit

Permalink
enable @typescript-eslint/switch-exhaustiveness-check lint again
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Feb 1, 2025
1 parent 2a41a50 commit c8b8359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export default ts.config(
rules: {
'prefer-spread': 'off',
'@typescript-eslint/explicit-member-accessibility': 'off',
'@typescript-eslint/switch-exhaustiveness-check': 'off',
'n/no-missing-import': 'off',
eqeqeq: 'error',
'@typescript-eslint/explicit-function-return-type': 'error',
Expand Down Expand Up @@ -66,6 +65,7 @@ export default ts.config(
'@typescript-eslint/prefer-as-const': 'error',
'@typescript-eslint/consistent-indexed-object-style': 'error',
'@typescript-eslint/no-base-to-string': 'error',
'@typescript-eslint/switch-exhaustiveness-check': ['error', { considerDefaultExhaustiveForUnions: true }],
'n/handle-callback-err': 'error',
'n/prefer-promises/fs': 'error',
'n/no-sync': 'error',
Expand Down

0 comments on commit c8b8359

Please sign in to comment.