RAKESH M
RAKESH M

Reputation: 153

Need to analyse a set of JS files using flow

I want to run flowtype on my existing project(Against a set of JS files), and I want to see the results in one place/file separately. Is there a way to do this? Thanks advance!

Upvotes: 1

Views: 46

Answers (1)

Nat Mote
Nat Mote

Reputation: 4086

Just run flow status. You need to follow the setup instructions first of course. In particular, make sure you have a .flowconfig file at the root of your project (it can be empty), and make sure that you have // @flow at the beginning of the files you want checked.

Upvotes: 2

Related Questions