Skip to content

refactor(semantic): refactor check_binding_identifier#12303

Merged
graphite-app[bot] merged 1 commit intomainfrom
07-15-refactor_semantic_refactor_check_binding_identifier_
Jul 16, 2025
Merged

refactor(semantic): refactor check_binding_identifier#12303
graphite-app[bot] merged 1 commit intomainfrom
07-15-refactor_semantic_refactor_check_binding_identifier_

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Jul 15, 2025

Pure refactor. We had 2 if blocks following each other. 1st is if strict_mode && ... and the 2nd if !strict_mode && .... Convert into an if/else instead.

@github-actions github-actions bot added A-semantic Area - Semantic C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels Jul 15, 2025
Copy link
Member Author

overlookmotel commented Jul 15, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

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.

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link
Contributor

@camc314 camc314 left a comment

Choose a reason for hiding this comment

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

can we put this on top of the other stack? else I think there'll be merge conflicts.

#12298

@codspeed-hq
Copy link

codspeed-hq bot commented Jul 15, 2025

CodSpeed Instrumentation Performance Report

Merging #12303 will not alter performance

Comparing 07-15-refactor_semantic_refactor_check_binding_identifier_ (3c6b88b) with main (f9da2ca)

Summary

✅ 34 untouched benchmarks

@graphite-app
Copy link
Contributor

graphite-app bot commented Jul 16, 2025

Merge activity

@Dunqing Dunqing marked this pull request as draft July 16, 2025 01:29
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Jul 16, 2025
@Dunqing
Copy link
Member

Dunqing commented Jul 16, 2025

I guess you weren't aware of @camc314's comment. Consider this stack is a refactor or a kind of performance improvement, I am converting this PR to the draft and merging stack first, which blocks us from publishing new oxlint. I am sorry if this waste of your time.

@overlookmotel
Copy link
Member Author

No problem. I'll rebase this now the other stack has been merged. I didn't see Cam's work before I did this.

@overlookmotel overlookmotel force-pushed the 07-15-refactor_semantic_refactor_check_binding_identifier_ branch from 6d0c3d1 to 00c24f1 Compare July 16, 2025 17:44
@overlookmotel overlookmotel marked this pull request as ready for review July 16, 2025 17:44
@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Jul 16, 2025
Pure refactor. We had 2 `if` blocks following each other. 1st is `if strict_mode && ...` and the 2nd `if !strict_mode && ...`. Convert into an `if`/`else` instead.
@graphite-app graphite-app bot force-pushed the 07-15-refactor_semantic_refactor_check_binding_identifier_ branch from 00c24f1 to 3c6b88b Compare July 16, 2025 18:50
@graphite-app graphite-app bot merged commit 3c6b88b into main Jul 16, 2025
24 checks passed
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Jul 16, 2025
@graphite-app graphite-app bot deleted the 07-15-refactor_semantic_refactor_check_binding_identifier_ branch July 16, 2025 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-semantic Area - Semantic C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants