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
There's a check for undefined variables which works well, but all it seems to be doing is checking for the existence of an assignment, not the validity of the assignment.
Currently, I can attempt to access a variable before it's been assigned and it's considered valid.
If you look in ESLint, this would throw an undefined error.
Expected
{{ cool }}
{% assigncool = true %}
// Variable "cool" used before being assigned.
Describe the bug
There's a check for undefined variables which works well, but all it seems to be doing is checking for the existence of an assignment, not the validity of the assignment.
Currently, I can attempt to access a variable before it's been assigned and it's considered valid.
If you look in ESLint, this would throw an undefined error.
Expected
Actual
Debugging information
The text was updated successfully, but these errors were encountered: