fix(linter): Add missing fail cases in eslint-no-array-constructor#9659
Merged
camchenry merged 5 commits intooxc-project:mainfrom Mar 12, 2025
Merged
Conversation
Contributor
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
therewillbecode
commented
Mar 10, 2025
CodSpeed Performance ReportMerging #9659 will not alter performanceComparing Summary
|
Boshen
reviewed
Mar 11, 2025
camchenry
approved these changes
Mar 12, 2025
Boshen
added a commit
that referenced
this pull request
Mar 12, 2025
## [0.15.15] - 2025-03-12 ### Features - 2ddad59 linter: Add unicorn/require-post-message-target-origin rule (#9684) (yefan) - 474a57b linter: A new multi-file analysis runtime (#9383) (branchseer) ### Bug Fixes - 6c0978b linter: No-single-promise-in-promise-methods: do not fix Promise.all when chained (#9697) (camchenry) - ab594f1 linter: Turn oxc/no-redundant-constructor-init into typescript/no-unnecessary-parameter-property-assignment (#9618) (Uli) - 91c009a linter: Add missing fail cases in `eslint-no-array-constructor` (#9659) (therewillbecode) - 2810e5b linter: Add missing fail cases in eslint/no-self-compare (#9693) (therewillbecode) ### Refactor - b9ab60b linter: Remove if let nesting from `bad-min-max-function` (#9722) (therewillbecode) - 90b0227 linter: Remove if let nesting from `eslint-operator-assignment` (#9721) (therewillbecode) - 5ef578e linter: Improve `jest/no-alias-methods` (#9694) (therewillbecode) Co-authored-by: Boshen <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the following missing fail cases for the rule where the last argument to the array constructor is a spread element:
I setup an eslint playground to show the cases failing here