When your project includes a dependency that defines its own flowconfig file (for example, React Native), currently Flow doesn't import the dependency's flowconfig. This is a feature request for Flow to automatically import the flowconfig files of dependencies.
I believe there are at least two ways dependency can be specified:
- It lives in a subdirectory such as
node_modules
- It lives in some other directory but is included under the
[include] section of .flowconfig
In either case Flow would have to smartly resolve the paths within each flow config it finds.