E0059: assignment to undeclared variable
It is an error to assign to a variable without declaring it:
To fix this error, declare the variable using const
or let
:
Alternatively, if the variable is global in your environment, write a quick-lint-js.config file.
Introduced in quick-lint-js version 0.2.0.