I love the new ES2015 module system and so do you. But writing imports at the beginning of your file is tiring. You have to jump around in your code and most of the time the import statement is very trivial. Why is there no editor plugin that writes these imports for me? Look no further, powered by flow this plugin should be able to write 98% of the imports for you!
Where project is your root directory that flow will be executed in.
flow-bin@>0.66.0installed as a devDependency or dependency and you use it to type-check your code
This repository is setup in that manner and can be used as a reference.
autoimport package using the settings or use the cli:
apm install autoimport
To execute the
autoimport:import command use
o on Mac or execute the command manually.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.