Skip to content

Adding eslint rule to avoid forEach #16515

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

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open

Adding eslint rule to avoid forEach #16515

wants to merge 21 commits into from

Conversation

deltakosh
Copy link
Contributor

For some reasons this does not work on my computer. so waiting for the experts :)

@RaananW / @ryantrem

@deltakosh deltakosh requested review from RaananW and ryantrem April 21, 2025 23:34
@bjsplat
Copy link
Collaborator

bjsplat commented Apr 21, 2025

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

@bjsplat
Copy link
Collaborator

bjsplat commented Apr 21, 2025

Reviewer - this PR has made changes to one or more package.json files.

@bjsplat
Copy link
Collaborator

bjsplat commented Apr 21, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Apr 22, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Apr 22, 2025

Disable github recommended, and only enable array-foreach
@bjsplat
Copy link
Collaborator

bjsplat commented Apr 22, 2025

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

@bjsplat
Copy link
Collaborator

bjsplat commented Apr 22, 2025

Reviewer - this PR has made changes to one or more package.json files.

@bjsplat
Copy link
Collaborator

bjsplat commented Apr 22, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Apr 22, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Apr 22, 2025

@deltakosh deltakosh marked this pull request as ready for review April 22, 2025 20:59
@bjsplat
Copy link
Collaborator

bjsplat commented Apr 22, 2025

Reviewer - this PR has made changes to one or more package.json files.

@bjsplat
Copy link
Collaborator

bjsplat commented Apr 22, 2025

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

@bjsplat
Copy link
Collaborator

bjsplat commented Apr 22, 2025

Reviewer - this PR has made changes to one or more package.json files.

@deltakosh deltakosh enabled auto-merge (squash) April 22, 2025 21:34
@bjsplat
Copy link
Collaborator

bjsplat commented Apr 22, 2025

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

@bjsplat
Copy link
Collaborator

bjsplat commented Apr 22, 2025

Reviewer - this PR has made changes to one or more package.json files.

@bjsplat
Copy link
Collaborator

bjsplat commented Apr 22, 2025

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

@bjsplat
Copy link
Collaborator

bjsplat commented Apr 22, 2025

Reviewer - this PR has made changes to one or more package.json files.

@bjsplat
Copy link
Collaborator

bjsplat commented Apr 22, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Apr 22, 2025

You have changed file(s) that made possible changes to the sandbox.
You can test the sandbox snapshot here:

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/SANDBOX/refs/pull/16515/merge/

@bjsplat
Copy link
Collaborator

bjsplat commented Apr 22, 2025

You have made possible changes to the playground.
You can test the snapshot here:

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/PLAYGROUND/refs/pull/16515/merge/

The snapshot playground with the CDN snapshot (only when available):

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/PLAYGROUND/refs/pull/16515/merge/?snapshot=refs/pull/16515/merge

Note that neither Babylon scenes nor textures are uploaded to the snapshot directory, so some playgrounds won't work correctly.

@bjsplat
Copy link
Collaborator

bjsplat commented Apr 22, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Apr 22, 2025

@RaananW
Copy link
Member

RaananW commented Apr 23, 2025

If it's possible to wait with this one to the rest of the new eslint rules it will be great.
This will break a lot of what I did for the naming convention, and will be hard to merge to my branch.

@deltakosh
Copy link
Contributor Author

I'll let you merge when you want :)

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.

4 participants