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. |
Contributor
Oxlint Ecosystem CI |
CodSpeed Performance ReportMerging #8592 will not alter performanceComparing Summary
|
Copilot AI
added a commit
that referenced
this pull request
Jan 28, 2026
The minifier was incorrectly inlining expressions into for-in loops when the loop variable was declared with `let` or `const`. This caused variable shadowing issues where the inlined expression might reference a variable with the same name as the for-in variable. This fix adds a check to only allow inlining when the for-in variable is declared with `var`, which is safe because `var` doesn't create a new scope. Fixes #8592 Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
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.
[0.15.7] - 2025-01-19
Features
ignoreTypeOfTestNameforjest/valid-title(feat(linter): supportignoreTypeOfTestNameforjest/valid-title#8589) (dalaoshu)eslint/prefer-promise-reject-errors(feat(linter): implementeslint:prefer-promise-reject-errors#8254) (tbashiyy)--initcli option (feat(oxlint): implement--initcli option #8453) (Tapan Prakash)Bug Fixes
eslint/no-lone-blocks(fix(linter): false positive ineslint/no-lone-blocks#8587) (dalaoshu)no-restricted-importssupport missing options (fix(linter): ruleno-restricted-importssupport missing options #8076) (Alexander S.)default_param_lastrule to handle optional parameters (feat(linter): enhancedefault_param_lastrule to handle optional parameters #8563) (Tapan Prakash)prefer_promise_reject_errors(fix(linter): support rest params forprefer_promise_reject_errors#8468) (Yuichiro Yamashita)Performance
AstTypes instead ofAstKinds (perf(linter/react-exhaustive-deps): use stack ofAstTypes instead ofAstKinds #8522) (overlookmotel)Refactor
eslint/no-lone-blocks(refactor(linter): improveeslint/no-lone-blocks#8588) (dalaoshu)prefer-eachfrom vitest to jest + remapping (refactor(linter): move ruleprefer-eachfrom vitest to jest + remapping #8448) (Alexander S.)Visit::enter_nodeusage (refactor(linter/consistent-function-scoping): removeVisit::enter_nodeusage #8538) (overlookmotel)Visit::enter_nodeusage (refactor(linter/no-map-spread): removeVisit::enter_nodeusage #8537) (overlookmotel)Span(refactor(span): all methods take ownedSpan#8297) (overlookmotel)Styling