neutrino-preset-flow
is a Neutrino preset that adds support for
flow
- Node.js v7+
- Yarn or npm client
- Neutrino v8, Neutrino build preset
neutrino-preset-flow
can be installed via the Yarn or npm clients.
yarn add neutrino-preset-flow
npm install --save neutrino-preset-flow
Add neutrino-preset-flow
to use
in your .neutrinorc.js
.
module.exports = {
use: [
'@neutrinojs/eslint',
'neutrino-preset-react',
'neutrino-preset-flow',
...
]
};
and then create the .flowconfig
file at the root of your project.
Note: Both neutrino-preset-react
and eslint
are required dependencies (eslint
can be installed using any neutrino plugin that includes it, @neutrinojs/eslint
, neutrino-preset-prettier-eslint
etc...)
touch .flowconfig
And that's all. For flow
specific usage, see their docs.
For Neutrino usage, refer to their documentation.