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

eslint-plugin-calypso: Fix spread operator error #78305

Merged
merged 1 commit into from
Jun 16, 2023

Conversation

tyxla
Copy link
Member

@tyxla tyxla commented Jun 16, 2023

Proposed Changes

This PR resolves an error with the fix/spread-element-i18n-no-variables custom rule where it fails when attempting to lint a translate() call that has a spread element used in its args.

Testing Instructions

@tyxla tyxla added [Type] Bug Framework [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. Code Style Changes related to eslint rules labels Jun 16, 2023
@tyxla tyxla requested review from noahtallen and a team June 16, 2023 07:37
@tyxla tyxla self-assigned this Jun 16, 2023
@github-actions
Copy link

github-actions bot commented Jun 16, 2023

@matticbot
Copy link
Contributor

This PR does not affect the size of JS and CSS bundles shipped to the user's browser.

Generated by performance advisor bot at iscalypsofastyet.com.

@tyxla
Copy link
Member Author

tyxla commented Jun 16, 2023

This is a straightforward fix that now is confirmed to work in #78292 (comment) so I'll just go ahead and ship it.

@tyxla tyxla merged commit 813bfe1 into trunk Jun 16, 2023
@tyxla tyxla deleted the fix/spread-element-i18n-no-variables branch June 16, 2023 08:12
@github-actions github-actions bot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Jun 16, 2023
Copy link
Member

@noahtallen noahtallen left a comment

Choose a reason for hiding this comment

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

Looks great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Style Changes related to eslint rules Framework [Type] Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants