Skip to content

Commit b0087ad

Browse files
committed
feat(eslint): refine rule config
1 parent b87e665 commit b0087ad

File tree

1 file changed

+1
-0
lines changed
  • packages/eslint-config-recommended/src

1 file changed

+1
-0
lines changed

packages/eslint-config-recommended/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ export function defineScTsConfig(...configs: Parameters<typeof defineConfig>): R
8484
],
8585
},
8686
],
87+
'@typescript-eslint/switch-exhaustiveness-check': 'error',
8788

8889
/*
8990
* the rule sorts selectors in the following priority:

0 commit comments

Comments
 (0)