Flow driver
Provides Flow support by dynamically generating a .flowconfig
config file.
#
Requirements- Flow
#
InstallationIn your configuration module, install the driver and Flow.
- Yarn
- NPM
Create a file at configs/flow.ts
(or .js
) in which to house your Flow configuration.
configs/flow.ts
#
Config formatIn Beemo, Flow is configured using a JavaScript/TypeScript file, and not the .flowconfig
file. To
support this, the following conventions must be followed.
ignore
,include
, andlibs
are an array of strings.lints
is an object. Properties are snake case (underscored instead of dashed).options
is an object.- Properties with a period must be quoted.
suppress_comment
must be double escaped or useRegExp
.
version
is a string.
An example can be seen above.
#
IntegrationIn your consuming project, enable the driver by adding flow
to your drivers
config.
.config/beemo.ts