You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am getting the following error when trying to pass options to @typescript-eslint/switch-exhaustiveness-check
Using xo: 0.5.6
Configuration for rule "@typescript-eslint/switch-exhaustiveness-check" is invalid:
Value [{"allowDefaultCaseForExhaustiveSwitch":false,"requireDefaultForNonUnion":true}] should NOT have more than 0 items.
Passing it just single value like: "@typescript-eslint/switch-exhaustiveness-check": "error" works fine.
Hi,
I am getting the following error when trying to pass options to
@typescript-eslint/switch-exhaustiveness-check
Using xo: 0.5.6
Passing it just single value like:
"@typescript-eslint/switch-exhaustiveness-check": "error"
works fine.But the following fails:
The text was updated successfully, but these errors were encountered: