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
I think this should simply be a check that ?? is only applied to something that is nullable. I think that would be of greater general use. Maybe there's something out there already that does this?
Alright, then we should probably make this ourselves. Can you fix the issue title, etc? :)
bondo
changed the title
proper-promise-use: Check await of LHS of nullish coalescing operator (??)
New rule: LHS of nullish coalescing operator (??) should be nullable
Jan 19, 2021
This should give a linting error
and this
The text was updated successfully, but these errors were encountered: