chore: Add Flow's statistical analysis

This change adds documentation on how to get it set up.
This commit is contained in:
Armen Zambrano G 2017-09-14 09:24:47 -04:00 коммит произвёл Armen Zambrano
Родитель 8373ecf07f
Коммит 8318482d68
2 изменённых файлов: 15 добавлений и 0 удалений

Просмотреть файл

@ -1,4 +1,5 @@
[ignore]
.*/node_modules/mitt.*
[include]

Просмотреть файл

@ -20,3 +20,17 @@ Checkout the code and run:
* yarn install
* yarn start
# Statistical analysis
In order to help with development you can run the following:
```bash
yarn run flow
```
This gives you a statistical analysis of the source code.
Some IDEs support Flow. I personally use [Atom](https://atom.io/) which has [linter-flow](https://atom.io/packages/linter-flow).
You will need to download [Flow](https://github.com/facebook/flow/releases)
and put the binary in your PATH to make it work.