Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 766 Bytes

flow-typed-config.md

File metadata and controls

27 lines (18 loc) · 766 Bytes

flow-typed.config.json

Flow-typed supports a config file to help you set various project level settings.

<PROJECT_ROOT>/flow-typed.config.json

env

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

ignore

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']
}