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
Component detection is likely being confused because we have no idea what observer is. Have you configured it in componentWrapperFunctions, as mentioned in the readme?
@berrtech one thing i note in that repo - npm ls fails, which means the entire dep graph is invalid. In particular, eslint-config-airbnb@17 only works with eslint 4 and 5, so you definitely need to update the airbnb config to v18 at least.
That's not the cause of your problem, of course, but something you should fix :-)
Eslint and plugin versions:
Relevant eslint configuration:
Expected error:
As described in the title, the following code does not produce error:
If I remove
{ value: 'data' }
argument, error is produced, as expected:If I extract this argument to a separate variable error is produced too:
That's weird, I don't think there is something wrong with configuration.
Repo reproducing error: https://github.com/berrtech/eslint-react-display-name
The text was updated successfully, but these errors were encountered: