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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v4] Update no unsafe eslint rule #1695

Merged
merged 2 commits into from Jun 18, 2019
Merged

Conversation

AndrewMusgrave
Copy link
Member

WHY are these changes introduced?

We removed the last deprecated lifecycle method 馃帀 I was going to add strict mode to storybook but it looks like we use ReactDOM.findDOMNode which is also a nono for strict mode, and will need to be handled but should be an easy fix.

@BPScott BPScott temporarily deployed to polaris-react-pr-1695 June 17, 2019 20:36 Inactive
@BPScott BPScott temporarily deployed to polaris-react-pr-1695 June 17, 2019 20:37 Inactive
@BPScott
Copy link
Member

BPScott commented Jun 17, 2019

I snuck this into eslint-plugin-shopify the other day Shopify/eslint-plugin-shopify#302. Matt's already cut a v29.0.0 with that change in it, and is in the process of putting it into sewing-kit.

I'd be tempted to wait ill new version of SK is released with that in, and then we get this rule as part of a sewing-kit update.

@AndrewMusgrave
Copy link
Member Author

Since you approved this pr, I'll merge this in for now. But create an issue to check for a sewing-kit upgrade before we release v4 to 馃敟 this change

@AndrewMusgrave AndrewMusgrave added the 馃Skip Changelog Causes CI to ignore changelog update check. label Jun 18, 2019
@AndrewMusgrave AndrewMusgrave added this to the v4.0.0 milestone Jun 18, 2019
@AndrewMusgrave AndrewMusgrave merged commit ca2cfa3 into version-4.0.0 Jun 18, 2019
@AndrewMusgrave AndrewMusgrave deleted the update-no-unsafe branch June 18, 2019 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
馃Skip Changelog Causes CI to ignore changelog update check.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants