Convert Facebook's Flow report to JSHint
$ npm install --save flow-to-jshint
var report = getMyFlowReport();
var flowToJSHint = require('flow-to-jshint');
console.log(flowToJSHint(report));
// =>
[ { error:
{ reason: 'number - This type is incompatible with',
code: 'E',
character: 20,
line: 3 },
file: 'path/to/hello.js' },
{ error:
{ reason: 'string',
code: 'E',
character: 11,
line: 3 },
file: 'path/to/hello.js' }
]