flowtype-loader icon indicating copy to clipboard operation
flowtype-loader copied to clipboard

use flow check-contents to instead of flow status

Open dev-johnny-gh opened this issue 8 years ago • 1 comments

dev-johnny-gh avatar Jun 08 '17 07:06 dev-johnny-gh

I refactor the loader to simplify the plugin and use flow check-contents to replace flow status. flow check-contents has better performance.

The option cwd was been deprecated and new option checkAll added.

When checkAll: true, loader will run flow check for all files even flow annotation(// @flow or /* @flow */) not exist.

dev-johnny-gh avatar Jun 08 '17 07:06 dev-johnny-gh