block-scoped-var
throws an error if missing parameter in destructuring
#2111
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
rule
Relates to ESLint's core rules
Running
eslint
on the following file:throws this error
I'm running
eslint
v0.17.1 with the following.eslintrc
(withstrict
andno-unused-vars
turned off for clarity)I imagine it should show a lint error (or perhaps another rule should), but I don't think it should crash.
The text was updated successfully, but these errors were encountered: