-
Notifications
You must be signed in to change notification settings - Fork 33
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
Pattern Catching uses let
instead of const
#1487
Comments
Civet uses In this case, it's implementing |
Usually it's either multiple assignment ( |
Ah, OK, the rule is indeed useful for Civet if it doesn't apply to assignments in expression position. I guess the question here is whether to detect whether |
Actually, I just discovered another situation in which this error can trigger:
The return ref is never used again so it "should" be a const. The annoying thing about both of these is that I can't even manually add |
ESLint doesn't like that
The text was updated successfully, but these errors were encountered: