Skip to content

fix(lint/no-unnecessary-qualifier): match in-scope names against the source text of the member - #1160

Merged
camc314 merged 1 commit into
fix/lint-no-unnecessary-type-arguments-1408from
fix/lint-no-unnecessary-qualifier-1406
Nov 30, 2026
Merged

camc314 merged 1 commit into
fix/lint-no-unnecessary-type-arguments-1408from
fix/lint-no-unnecessary-qualifier-1406

Conversation

@camc314

@camc314 camc314 commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Ports oxc-project/tsgolint#1406 (db8a0556), including its baseline update.

The rule looked up the decoded member name (f for \u0066) in scope, while typescript-eslint matches the member's source text. An escaped member no longer matches an in-scope binding, so the fix no longer drops the call's receiver. The report message uses the source text too.

export namespace N {
  export const marker = 1;
  export function f(this: typeof N) {
    return this.marker;
  }
  export const value = N.\u0066(); // was fixed to \u0066(), which loses `this`
}

Copilot AI balanced review requested due to automatic review settings November 30, 2026 11:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Codex Review Summary: βœ… Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
πŸ“ Code Review βœ… Completed 2026-11-30T13:00:41.004306Z 19716b4 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with πŸ‘€ while any review is running, comments if it has suggestions, and reacts with πŸ‘ once all reviews finish with no findings.

@camc314
camc314 added this pull request to stack #1163 November 30, 2026 11:56
@camc314
camc314 enabled stacked auto-merge November 30, 2026 12:00
@camc314
camc314 added this pull request to the merge queue Nov 30, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue because the pull requests in the stack were not ordered correctly in the queue Nov 30, 2026
@camc314
camc314 added this pull request to the merge queue Nov 30, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue because the pull requests in the stack were not ordered correctly in the queue Nov 30, 2026
@camc314
camc314 added this pull request to the merge queue Nov 30, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue because the pull requests in the stack were not ordered correctly in the queue Nov 30, 2026
@camc314
camc314 force-pushed the fix/lint-no-unnecessary-qualifier-1406 branch from 1d1417c to 19716b4 Compare November 30, 2026 12:59
@codspeed

codspeed Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

Warning

oxc-project has exceeded the Hobby plan limit of 5 active contributors. Upgrade your plan or apply to the open source program by December 8, 2026 to keep using CodSpeed.

1 warning

⚠️ 4 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

βœ… 8 untouched benchmarks
⏩ 8 skipped benchmarks1


Comparing fix/lint-no-unnecessary-qualifier-1406 (19716b4) with fix/lint-no-unnecessary-type-arguments-1408 (11e3780)

Open in CodSpeed

Footnotes

  1. 8 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

@github-actions

Copy link
Copy Markdown
Contributor

Performance change vs main

Workflow run Β· main 11e3780055df β†’ PR merge 8586b892addf (head 19716b48cec4)

Clef gate: Clef estimated 22.3% default and single-threaded wall time, 20.3% peak RSS, 22.7% single-threaded instruction count impact probability.

Release builds in fast mode (TSRS_FAST=1) with Hyperfine 2 hardware counters. After warming each binary, alternating main/PR pairs measure wall time at both the fast preset's default checker count and with --singleThreaded, with ten pairs per configuration by default. Instructions come from the single-threaded runs; peak RSS comes from the default-count runs.
Incremental runs start with fresh build info before every invocation; check runs disable incremental compilation.

Project Mode Single-thread wall time Ξ” Single-thread instructions Ξ” Default wall time Ξ” Default peak RSS Ξ”
vscode check failed β€” β€” β€”
vscode incremental failed β€” β€” β€”
xstate-main check failed β€” β€” β€”
xstate-main incremental failed β€” β€” β€”
webpack check failed β€” β€” β€”
webpack incremental failed β€” β€” β€”
mui-docs check failed β€” β€” β€”
mui-docs incremental failed β€” β€” β€”
Compiler check failed β€” β€” β€”
Compiler incremental failed β€” β€” β€”
Compiler-Unions check failed β€” β€” β€”
Compiler-Unions incremental failed β€” β€” β€”
cal-diy check failed β€” β€” β€”
cal-diy incremental failed β€” β€” β€”
formbricks-web check failed β€” β€” β€”
formbricks-web incremental failed β€” β€” β€”
supabase-studio check failed β€” β€” β€”
supabase-studio incremental failed β€” β€” β€”
t3code-server check failed β€” β€” β€”
t3code-server incremental failed β€” β€” β€”
mikro-orm check failed β€” β€” β€”
mikro-orm incremental failed β€” β€” β€”
next-packages-next check failed β€” β€” β€”
next-packages-next incremental failed β€” β€” β€”
next-root check failed β€” β€” β€”
next-root incremental failed β€” β€” β€”
storybook check failed β€” β€” β€”
storybook incremental failed β€” β€” β€”
nuxt check failed β€” β€” β€”
nuxt incremental failed β€” β€” β€”
playwright check failed β€” β€” β€”
playwright incremental failed β€” β€” β€”
drizzle-orm check failed β€” β€” β€”
drizzle-orm incremental failed β€” β€” β€”
typeorm check failed β€” β€” β€”
typeorm incremental failed β€” β€” β€”
date-fns check failed β€” β€” β€”
date-fns incremental failed β€” β€” β€”
opencode-core check failed β€” β€” β€”
opencode-core incremental failed β€” β€” β€”
lobehub check failed β€” β€” β€”
lobehub incremental failed β€” β€” β€”
sentry check failed β€” β€” β€”
sentry incremental failed β€” β€” β€”

Negative means the PR used less; positive means it used more. Deltas are medians of paired PR/main ratios for wall time and instructions. Single-threaded runs reduce scheduling noise; shared CI machines can still add noise to wall time.
Measurements missing or invalid on: vscode (check), vscode (incremental), xstate-main (check), xstate-main (incremental), webpack (check), webpack (incremental), mui-docs (check), mui-docs (incremental), Compiler (check), Compiler (incremental), Compiler-Unions (check), Compiler-Unions (incremental), cal-diy (check), cal-diy (incremental), formbricks-web (check), formbricks-web (incremental), supabase-studio (check), supabase-studio (incremental), t3code-server (check), t3code-server (incremental), mikro-orm (check), mikro-orm (incremental), next-packages-next (check), next-packages-next (incremental), next-root (check), next-root (incremental), storybook (check), storybook (incremental), nuxt (check), nuxt (incremental), playwright (check), playwright (incremental), drizzle-orm (check), drizzle-orm (incremental), typeorm (check), typeorm (incremental), date-fns (check), date-fns (incremental), opencode-core (check), opencode-core (incremental), lobehub (check), lobehub (incremental), sentry (check), sentry (incremental). See the workflow run for errors.

tsrs-lint

Lint measurements are missing. See the workflow run for errors.

@camc314
camc314 added this pull request to the merge queue Nov 30, 2026
Merged via the queue into main with commit 623b058 Nov 30, 2026
32 of 77 checks passed
@camc314
camc314 deleted the fix/lint-no-unnecessary-qualifier-1406 branch November 30, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants