Skip to content

Rename no-array-push-push to prefer-single-call, support Element#classList.{add,remove}() and importScripts(), Update options #2617

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

Merged
merged 8 commits into from
Apr 27, 2025

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Mar 31, 2025

Note that the original ignore in options was designed to ignore objects, but we have to update it to match the callee.

Fixes #2160

@fisker fisker changed the title Rename no-array-push-push to prefer-combinable-action, support Element#classList.{add,remove}() and importScripts() Rename no-array-push-push to prefer-combinable-action, support Element#classList.{add,remove}() and importScripts(), Update options Mar 31, 2025
@fisker fisker changed the title Rename no-array-push-push to prefer-combinable-action, support Element#classList.{add,remove}() and importScripts(), Update options Rename no-array-push-push to prefer-single-call, support Element#classList.{add,remove}() and importScripts(), Update options Apr 2, 2025
@fisker fisker force-pushed the prefer-combinable-action branch from c91a775 to 4ca42ae Compare April 7, 2025 06:52
@fisker fisker marked this pull request as ready for review April 9, 2025 10:38
@sindresorhus sindresorhus merged commit e117783 into sindresorhus:main Apr 27, 2025
17 checks passed
@fisker fisker deleted the prefer-combinable-action branch April 27, 2025 15:39
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.

Rule proposal: no-class-list-add-add
2 participants