Skip to content

Commit

Permalink
Update eslint.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cobaltt7 authored Nov 4, 2024
1 parent 8d19d64 commit 2fc3370
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ const config = typescriptEslint.config(
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/switch-exhaustiveness-check": [
"error",
{ allowDefaultCaseForExhaustiveSwitch: false },
{ allowDefaultCaseForExhaustiveSwitch: false ,considerDefaultExhaustiveForUnions: true
},
],
"@typescript-eslint/typedef": "off",
"@typescript-eslint/use-unknown-in-catch-callback-variable": "off",
Expand Down

0 comments on commit 2fc3370

Please sign in to comment.