You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed we forcefully only handle the first comment.
I'm quite sure that flow will flow-check a file wherever the flow comment is, even if their documentation says it should appear before the first line of code. Anyway the current rule doesn't actually check this either :)
The text was updated successfully, but these errors were encountered:
julienw
added a commit
to julienw/eslint-plugin-flowtype
that referenced
this issue
Jun 28, 2017
Exemple of such a file:
The problem is at https://github.com/gajus/eslint-plugin-flowtype/blob/master/src/utilities/isFlowFile.js#L17
Indeed we forcefully only handle the first comment.
I'm quite sure that flow will flow-check a file wherever the flow comment is, even if their documentation says it should appear before the first line of code. Anyway the current rule doesn't actually check this either :)
The text was updated successfully, but these errors were encountered: