We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4f3985 commit fb94589Copy full SHA for fb94589
packages/react-scripts/template/README.md
@@ -585,7 +585,8 @@ To add Flow to a Create React App project, follow these steps:
585
586
1. Run `npm install --save-dev flow-bin`.
587
2. Add `"flow": "flow"` to the `scripts` section of your `package.json`.
588
-3. Add `// @flow` to any files you want to type check (for example, to `src/App.js`).
+3. Run `npm run flow -- init` to create a [`.flowconfig` file](https://flowtype.org/docs/advanced-configuration.html) in the root directory.
589
+4. Add `// @flow` to any files you want to type check (for example, to `src/App.js`).
590
591
Now you can run `npm run flow` to check the files for type errors.
592
You can optionally use an IDE like [Nuclide](https://nuclide.io/docs/languages/flow/) for a better integrated experience.
0 commit comments