Skip to content

feat(linter): add suggested fix to unicorn/prefer-structured-clone#9994

Merged
camchenry merged 1 commit intooxc-project:mainfrom
ulrichstark:fix-refactor-and-add-suggestion-to-prefer-structured-clone
Mar 24, 2025
Merged

feat(linter): add suggested fix to unicorn/prefer-structured-clone#9994
camchenry merged 1 commit intooxc-project:mainfrom
ulrichstark:fix-refactor-and-add-suggestion-to-prefer-structured-clone

Conversation

@ulrichstark
Copy link
Contributor

I added the suggested fix to unicorn/prefer-structured-clone.
Also fixed the incorrect reported spans, cleaned up the code and added a new fail & fix test with a more complex first argument.

@graphite-app
Copy link
Contributor

graphite-app bot commented Mar 23, 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.

@github-actions github-actions bot added A-linter Area - Linter C-enhancement Category - New feature or request labels Mar 23, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Mar 23, 2025

CodSpeed Instrumentation Performance Report

Merging #9994 will not alter performance

Comparing ulrichstark:fix-refactor-and-add-suggestion-to-prefer-structured-clone (d0f87aa) with main (76b245d)

Summary

✅ 33 untouched benchmarks

Copy link
Member

@camchenry camchenry left a comment

Choose a reason for hiding this comment

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

thanks!

@camchenry camchenry merged commit 1b41cb3 into oxc-project:main Mar 24, 2025
24 checks passed
@ulrichstark ulrichstark deleted the fix-refactor-and-add-suggestion-to-prefer-structured-clone branch March 28, 2025 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-linter Area - Linter C-enhancement Category - New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants