Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

prefer-const: special handling for destructuring in for-of #2904

Merged
merged 2 commits into from Jun 8, 2017
Merged

prefer-const: special handling for destructuring in for-of #2904

merged 2 commits into from Jun 8, 2017

Conversation

ajafff
Copy link
Contributor

@ajafff ajafff commented Jun 8, 2017

PR checklist

Overview of change:

[enhancement] prefer-const: handle destructuring in for-of loop initializer as if {"destructuring": "all"} was specified
Fixes: #2902

/cc @WilcoBakker

Is there anything you'd like reviewers to focus on?

CHANGELOG.md entry:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

prefer-const: for-of loop with tuple assignment
2 participants