Skip to content

Commit

Permalink
Set allowDefaultCaseForExhaustiveSwitch=false for @typescript-eslint/…
Browse files Browse the repository at this point in the history
…switch-exhaustiveness-check.
  • Loading branch information
alexrp committed Jan 4, 2024
1 parent eb918d7 commit 9a2d285
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,12 @@
"allowString": false
}
],
"@typescript-eslint/switch-exhaustiveness-check": "error",
"@typescript-eslint/switch-exhaustiveness-check": [
"error",
{
"allowDefaultCaseForExhaustiveSwitch": false
}
],
"@typescript-eslint/triple-slash-reference": [
"error",
{
Expand Down

0 comments on commit 9a2d285

Please sign in to comment.