-
Notifications
You must be signed in to change notification settings - Fork 42
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
flow-coverage-report
should work with // @flow strict
declaration
#151
Comments
I actually just submitted a PR for this: #150. |
Incidentally, using |
And that's because there's a bug in a dependency: ryan953/flow-annotation-check#55. |
Just left a comment on that PR 🙂. I'll plan on using |
I just pushed up v1.8.1-0 of flow-annotation-check, so give that a spin and see if that helps along with #150 |
@ryan953 thanks for jumping on this so quickly! This works well in the coverage report of my updated PR:
|
Cool, I just pushed that branch up to npm as v1.8.1 for merging. |
This can be closed now that 0.6.0 is released. I've tested it and it seems to work. |
We just switched our codebase over to |
When I run the following command:
flow-coverage-report -i 'src/**/*.js' -i 'src/**/*.jsx' -t html -t json -t text
I get this error for any file with a
// @flow strict
header:When I remove 'strict' from that header comment, the errors moves on to another file with it. This is syntax officially supported by flow (https://flow.org/en/docs/strict/) so expected it to work with this tool.
The text was updated successfully, but these errors were encountered: