chore: Add Flow's statistical analysis
This change adds documentation on how to get it set up.
This commit is contained in:
Родитель
8373ecf07f
Коммит
8318482d68
|
@ -1,4 +1,5 @@
|
|||
[ignore]
|
||||
.*/node_modules/mitt.*
|
||||
|
||||
[include]
|
||||
|
||||
|
|
14
README.md
14
README.md
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче