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
{{ message }}
This repository was archived by the owner on Oct 1, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 1, 2020. It is now read-only.
Running this command shows failed type checks for all files in the repo. Looking at the source it appears this is the expected behavior? If so, the documentation should say something like 'Triggers a type check for all annotated files.'
That generates only errors for the current file, but it apparently doesn't generate the desired output for populating the quickfix window.
I verified that "flow check-content" doesn't generate the same kind of error output as plain "flow". Pretty sure this is the issue with my attempted solution above. Not sure what I can do about that.
Can we get some feedback from committers as to whether this is something that should be fixed? If it's desired to fix this, but nobody has time right now, I might be willing to submit a pull request.
im not a committer, just want to let you know that theres a flow linter for https://github.com/w0rp/ale vim plugin, and it shows warnings for only current buffer.
Wow, this was wonderful advice! It took me awhile to get it configured, but I'm loving ALE! I have switched from Syntastic to ALE. Here's a screenshot showing Flow in action. I customized the error and warning signs to be emojis.
Activity
michaelowens commentedon Oct 4, 2016
Same is happening for me, both on save and
FlowMakeit will show errors for the whole project, not the current file.mvolkmann commentedon Dec 18, 2016
I think there really needs to be an option to only check the current file.
mvolkmann commentedon Dec 18, 2016
I've been looking into this. I think there's a bug in the flow#typecheck function.
This line:
needs a space after
--retry-if-init false.However, I think the bigger issue is that this needs to use
check-contentin order to check just one file. I tried changing that line to this:That generates only errors for the current file, but it apparently doesn't generate the desired output for populating the quickfix window.
I verified that "flow check-content" doesn't generate the same kind of error output as plain "flow". Pretty sure this is the issue with my attempted solution above. Not sure what I can do about that.
mvolkmann commentedon Dec 27, 2016
Can we get some feedback from committers as to whether this is something that should be fixed? If it's desired to fix this, but nobody has time right now, I might be willing to submit a pull request.
ckjoris commentedon Dec 28, 2016
im not a committer, just want to let you know that theres a flow linter for https://github.com/w0rp/ale vim plugin, and it shows warnings for only current buffer.
mvolkmann commentedon Dec 31, 2016
Wow, this was wonderful advice! It took me awhile to get it configured, but I'm loving ALE! I have switched from Syntastic to ALE. Here's a screenshot showing Flow in action. I customized the error and warning signs to be emojis.

codeaholicguy commentedon Jul 6, 2017
I have the same question, is there any option to check the current buffer only?
zfogg commentedon Apr 18, 2020
+1 to this