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] Don't suggest a function as its own dep #15115

Merged
merged 1 commit into from
Mar 15, 2019

Conversation

gaearon
Copy link
Collaborator

@gaearon gaearon commented Mar 15, 2019

Fixes #15113.

Copy link
Contributor

@threepointone threepointone left a comment

Choose a reason for hiding this comment

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

lmao #justjavascriptthings

@gaearon
Copy link
Collaborator Author

gaearon commented Mar 15, 2019

I guess there's still a weird case with circular deps where I'm not sure what's the canonical solution is. But maybe let's wait till someone reports it so that we can see the real code people try to write.

@sizebot
Copy link

sizebot commented Mar 15, 2019

Details of bundled changes.

Comparing: 371bbf3...ea12b0a

eslint-plugin-react-hooks

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
eslint-plugin-react-hooks.development.js +0.3% +0.2% 73.34 KB 73.59 KB 16.83 KB 16.87 KB NODE_DEV
eslint-plugin-react-hooks.production.min.js 🔺+0.4% 🔺+0.4% 19.27 KB 19.35 KB 6.66 KB 6.69 KB NODE_PROD
ESLintPluginReactHooks-dev.js +0.4% +0.3% 78.6 KB 78.9 KB 17.31 KB 17.37 KB FB_WWW_DEV

Generated by 🚫 dangerJS

@gaearon gaearon merged commit f1ff434 into facebook:master Mar 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants