Skip to content

fix: no-array-prototype-extensions rule to lint against setObjects()#2320

Merged
bmish merged 1 commit intoember-cli:masterfrom
MrChocolatine:fix-rule-no-array-prototype-extensions
Aug 22, 2025
Merged

fix: no-array-prototype-extensions rule to lint against setObjects()#2320
bmish merged 1 commit intoember-cli:masterfrom
MrChocolatine:fix-rule-no-array-prototype-extensions

Conversation

@MrChocolatine
Copy link
Copy Markdown
Contributor

@MrChocolatine MrChocolatine commented Aug 21, 2025

The method setObject() (singular) has never existed, only the plural version has existed:


cc @simonihmig , if we want to wait for this to be released or if we want to patch the library internally.

@MrChocolatine MrChocolatine changed the title Fix rule no-array-prototype-extensions.js, lint against setObjects Fix rule no-array-prototype-extensions, lint against setObjects() Aug 21, 2025
@bmish bmish added the bug label Aug 22, 2025
@bmish bmish changed the title Fix rule no-array-prototype-extensions, lint against setObjects() fix no-array-prototype-extensions rule to lint against setObjects() Aug 22, 2025
@bmish bmish changed the title fix no-array-prototype-extensions rule to lint against setObjects() fix: no-array-prototype-extensions rule to lint against setObjects() Aug 22, 2025
Copy link
Copy Markdown
Member

@bmish bmish left a comment

Choose a reason for hiding this comment

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

Thanks!

@bmish bmish merged commit 7a6fa69 into ember-cli:master Aug 22, 2025
11 checks passed
@github-actions github-actions Bot mentioned this pull request Aug 22, 2025
@MrChocolatine MrChocolatine deleted the fix-rule-no-array-prototype-extensions branch August 22, 2025 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants