Skip to content
This repository was archived by the owner on Feb 19, 2024. It is now read-only.

Commit a685cf0

Browse files
authored
feat: enable @typescript-eslint/switch-exhaustiveness-check
BREAKING CHANGE: enables @typescript-eslint/switch-exhaustiveness-check See https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/switch-exhaustiveness-check.md
1 parent 66646ac commit a685cf0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ module.exports = {
5656
'@typescript-eslint/explicit-module-boundary-types': ['error'],
5757
'prefer-promise-reject-errors': ['error'],
5858
'unicorn/prefer-string-slice': ['error'],
59+
'@typescript-eslint/switch-exhaustiveness-check': ['error']
5960
},
6061
env: {
6162
browser: true,

0 commit comments

Comments
 (0)