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

no-array-for-each: Fix auto-fix causing SyntaxError #1813

Merged
merged 2 commits into from May 17, 2022
Merged

no-array-for-each: Fix auto-fix causing SyntaxError #1813

merged 2 commits into from May 17, 2022

Conversation

TimShilov
Copy link
Contributor

Fixes #1812

Copy link
Collaborator

@fisker fisker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

rules/no-array-for-each.js Show resolved Hide resolved
Co-authored-by: fisker Cheung <lionkay@gmail.com>
@sindresorhus sindresorhus merged commit 47c8337 into sindresorhus:main May 17, 2022
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.

Auto-fixing 'unicorn/no-array-for-each' breaks the code in certain cases
3 participants