$ cnpm install eslint-plugin-flowtype-errors
This guide assumes that you have installed eslint, babel, babel-plugin-transform-flow-strip-types and configured flow. Check out the from-scratch guide for the full guide on getting started.
⚠️ Make sure the 64-bit version of your text editor or IDE. For atom, see this comment
npm install --save-dev eslint-plugin-flowtype-errors
Extend the recommended config:
{
"extends": ["plugin:flowtype-errors/recommended"]
}
If this project is saving you (or your team) time, please consider supporting it on Patreon ???? thank you!
Flow is supported on all OS's except Windows 32bit. Add this line to appveyor to make tests run properly.
Copyright © npmmirror.com | 浙ICP备15033595号-63 |