Retrieve Flow errors as ESLint errors.
npm install eslint-plugin-flowtype-errorseslint-plugin-flowtype-errors
=============================
!Test



* Lower barrier: Any editor that has ESLint support now supports Flow š
* Less editor configuration: No need to change your entire workflow to incorporate flow. No multiple-linters-per-file nonsense.
* Simple: It's literally just an ESLint rule! Just install the dependency, add a flowconfig, and you're good to go!
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
``bash`
npm install --save-dev eslint-plugin-flowtype-errors
Extend the recommended config:
`jsonc``
{
"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.
* flow-runtime
* eslint-plugin-flowtype
* eslint-plugin-flowtype-errors-demo