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
Thanks for a very useful library. Apologies if I'm missing something obvious here, but it seems that instance variables are not recognized as such unless a value is explicitly assigned.
error foo should be placed after render react/sort-comp
Changing foo; to foo = undefined; solves the problem, but the behavior is confusing to me.
The text was updated successfully, but these errors were encountered:
ericgio
changed the title
sort-comp doesn't recognize instance variables declared with implicit undefined
sort-comp doesn't recognize instance variables declared without explicit value
Mar 1, 2019
Thanks for a very useful library. Apologies if I'm missing something obvious here, but it seems that instance variables are not recognized as such unless a value is explicitly assigned.
Given this
sort-comp
ruleand this class definition
I get this error:
Changing
foo;
tofoo = undefined;
solves the problem, but the behavior is confusing to me.The text was updated successfully, but these errors were encountered: