Skip to content

Infra/delete utils_old file #1236

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

Merged
merged 6 commits into from
Apr 12, 2021
Merged

Infra/delete utils_old file #1236

merged 6 commits into from
Apr 12, 2021

Conversation

lidord-wix
Copy link
Contributor

Description

Remove the old utils file
Move the relevant function inside prop-value-shape-deprecation
Update findValueNodeOfIdentifier() to be recursive

Changelog

Remove the old utils file

@lidord-wix lidord-wix requested a review from ethanshar March 22, 2021 13:16
@lidord-wix lidord-wix changed the title Infra/delete utils old Infra/delete utils_old file Mar 22, 2021
@ethanshar ethanshar requested review from M-i-k-e-l and removed request for ethanshar March 22, 2021 14:53
@ethanshar ethanshar assigned M-i-k-e-l and unassigned ethanshar Mar 22, 2021
@@ -130,6 +130,22 @@ module.exports = {
}
}

function getComponentName(node) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why not move to the new imports + getComponentName(componentLocalName, imports)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I changed to getComponentLocalName(node)
It seems like imports + getComponentName doesn't work here

@lidord-wix lidord-wix requested a review from M-i-k-e-l April 7, 2021 14:23
Copy link
Collaborator

@M-i-k-e-l M-i-k-e-l left a comment

Choose a reason for hiding this comment

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

Nice 👍
Generally you should increase the version (in package.json), but I have a fix to eslint so I'll update there.

@M-i-k-e-l M-i-k-e-l merged commit 91fe059 into master Apr 12, 2021
@lidord-wix lidord-wix deleted the Infra/delete_utils_old branch May 3, 2021 08:11
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.

3 participants