-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sort-comp reporting a bad error message #507
Comments
What worked for me and may work applied to the context here is making sure that all |
Same issue, same fix |
Can you post your eslint configuration and a full code example that trigger the error? Thanks. |
Yes, no problem:
|
Thanks. Can you also post a React Component that trigger the bug? |
I could not find it, but I remember it was something like:
|
I haven't been able to intentionally reproduce it either. It happen while I was refactoring a component. If I come across it again I'll post an example. |
Ok, thanks @calmdev . For now I tried with: class Hello extends React.Component {
constructor() {}
shouldComponentUpdate() {}
setSomething() {}
onDragStart() {}
getBound() {}
onSomething() {}
render() {}
} And the airbnb configuration (since it is the one @neiker is using) but all I got is
Which is correct in this case. |
Yes, I can no longer reproduce this. Maybe it was fixed by accident? |
Thanks @calmdev , I was able to reproduce the bug with your example. I'll fix this. |
As you can see getCourtesyOptions IS before loadProvinces.
The text was updated successfully, but these errors were encountered: