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 have searched the existing issues and my issue is unique
My issue appears in the command-line and not only in the text editor
Description Overview
This library is amazing 馃檹
Just wanted to share that in latest (7.32.0) I'm getting a linting error for a non-destructured assign from useContext. Please correct me if I'm wrong but I don't this this is valid in every case because the context value might be a nullable object.
Expected Behavior
Here's a simple example of what I think should be a valid case:
Is there an existing issue for this?
Description Overview
This library is amazing 馃檹
Just wanted to share that in latest (
7.32.0
) I'm getting a linting error for a non-destructured assign fromuseContext
. Please correct me if I'm wrong but I don't this this is valid in every case because the context value might be a nullable object.Expected Behavior
Here's a simple example of what I think should be a valid case:
eslint-plugin-react version
v7.32.0
eslint version
v8.31.0
node version
v16.14.2
The text was updated successfully, but these errors were encountered: