npm install --save-dev eslint npm install --save-dev eslint-plugin-flowtype-errors npm install --save-dev babel npm install --save-dev babel-eslint npm install --save-dev babel-plugin-transform-flow-strip-types
Create a .babelrc with:
.babelrc
{ "plugins": ["transform-flow-strip-types"] }
Create a .flowconfig with:
.flowconfig
[ignore] .*/node_modules/fbjs/.* .*/git/.*
Create an .eslintrc with:
.eslintrc
{ "parser": "babel-eslint", "rules": { "flowtype-errors/show-errors": "error" }, "plugins": [ "flowtype-errors" ] }
There was an error while loading. Please reload this page.