larsonjj / grunt-flow

Validates JavaScript with Facebook's Flow Library
20 stars 5 forks source link

[REQ] Allow multiple locations #3

Closed NullDivision closed 8 years ago

NullDivision commented 8 years ago

It seems a bit wrong to have flow only execute in the root directory. Wouldn't it make more sense to be able to direct the Grunt config to the location where the .flowconfig file is and have it execute there?

larsonjj commented 8 years ago

@NullDivision,

Sorry for the late response. .flowconfig file is normally put into the root folder of a project along with the Gruntfile.js. Not sure what the use case would be where that would not be the case. If you would like to conditionalize which files/folders are read by flow you can read more about that in the [include] Flow Docs.