Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename parameters in massageAstNode #16024

Merged
merged 13 commits into from Feb 4, 2024
Merged

Rename parameters in massageAstNode #16024

merged 13 commits into from Feb 4, 2024

Conversation

fisker
Copy link
Member

@fisker fisker commented Feb 3, 2024

Description

Checklist

  • I’ve added tests to confirm my change works.
  • (If changing the API or CLI) I’ve documented the changes I’ve made (in the docs/ directory).
  • (If the change is user-facing) I’ve added my changes to changelog_unreleased/*/XXXX.md file following changelog_unreleased/TEMPLATE.md.
  • I’ve read the contributing guidelines.

Try the playground for this PR

@fisker fisker changed the title Update name Rename parameters in massageAstNode Feb 3, 2024
},
create: (context) =>
Object.fromEntries(
["original", "clone"].map((name, index) => [
Copy link
Member

Choose a reason for hiding this comment

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

The variable name clone sounds like a function, so cloned or clonedNode is preferable.

@fisker fisker marked this pull request as ready for review February 3, 2024 17:45
@fisker fisker merged commit 76b8f95 into prettier:main Feb 4, 2024
29 checks passed
@fisker fisker deleted the massage-ast branch February 4, 2024 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants