-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
import/no-cycle and flow type imports #1098
Comments
@ljharb I can submit a PR for this. Does this need to be a configurable option or default behaviour? |
@gajus I think it can be the default, since there seems to be no value in checking them. |
Is that it or am I overlooking something? |
@goodmind Sorry, but what did you mean by that? |
@ljharb I don't think that's true, see facebook/flow@e6a10b1
See also facebook/flow@d7e7e78 which specifically focuses on type imports I think there should at least be an option to check type imports with |
@Hypnosphi an option to enable this checking seems fine to me as well. @goodmind's OP implied there were no cycles; your link seems to successfully dispute this - so perhaps it'd indeed be better to restore this checking by default, with an option to disable it? Not really sure. |
Flow
import type
doesn't have cycles. How to ignore them?The text was updated successfully, but these errors were encountered: