Flow-typed supports a config file to help you set various project level settings.
<PROJECT_ROOT>/flow-typed.config.json
env
accepts an array of strings that map to environment definitions that you can you can find here.
{
env: ['jsx', 'node'],
}
Learn more about environment definitions
When you have a dependencies you don't want updated or swapped out during the install
command you can add this property which takes an array of strings referencing either package scopes or package names explicitly to ignore.
{
ignore: ['@babel', '@custom/', 'eslint', 'eslint-plugin-ft-flow']
}