Skip to content
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

lint: add for-each-element #245

Merged
merged 2 commits into from
Sep 2, 2020
Merged

lint: add for-each-element #245

merged 2 commits into from
Sep 2, 2020

Conversation

bakkot
Copy link
Contributor

@bakkot bakkot commented Aug 30, 2020

See tc39/ecma262#2152. This passes cleanly on that PR.

I didn't see a good way to lint for the other stuff in that PR without too high a risk of false positives, especially since "For each integer x in the range [0, 10)" and so on need to remain legal. But I am happy to add more linting if there's things which reviewers think should be added.

@bakkot bakkot requested a review from michaelficarra August 30, 2020 03:08
@bakkot bakkot merged commit 24313ff into master Sep 2, 2020
@bakkot bakkot deleted the lint-for-each branch September 2, 2020 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants