Skip to content

feat(lint): Enable e18e/prefer-array-to-reversed - #130520

Draft
JoshuaKGoldberg wants to merge 1 commit into
masterfrom
joshgoldberg/lint-e18e-prefer-array-to-reversed
Draft

JoshuaKGoldberg wants to merge 1 commit into
masterfrom
joshgoldberg/lint-e18e-prefer-array-to-reversed

Conversation

@JoshuaKGoldberg

Copy link
Copy Markdown
Member

This rule was turned off during the Oxlint migration because Oxlint's version also reports copy-then-reverse forms like [...arr].reverse(), which the ESLint plugin didn't. This switches the four existing sites to toReversed() and turns the rule on.

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 9, 2026
@JoshuaKGoldberg

Copy link
Copy Markdown
Member Author

@cursor review

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 3cd7dfc. Configure here.

This branch was successfully deployed

1 active deployment
Preview — 3cd7dfce Deployed Nov 9, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant