You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 24, 2019. It is now read-only.
The test mock framework I'm working on needs to use flow-remove-types to include some components of a project in its node_modules. From the docs it seems like I should be able to accomplish this with:
The test mock framework I'm working on needs to use
flow-remove-types
to include some components of a project in itsnode_modules
. From the docs it seems like I should be able to accomplish this with:But this doesn't work because of the logic in https://github.com/flowtype/flow-remove-types/blob/769385af04e8151579701d3c3a1d450a2db3b021/register.js#L49 -- the default exclusion value breaks my inclusion criterion. Instead I have to do something like:
This is workable but unintuitive. I'd like to suggest dividing the logic into more levels of priority:
explicit exclusion criteria
>explicit inclusion criteria
>default exclusion criteria
>default inclusion criteria
The text was updated successfully, but these errors were encountered: