facebookarchive / ide-flowtype

Flow support for Atom IDE
Other
178 stars 17 forks source link

[RFC] Add "Current Package Only" toggle #47

Open aleclarson opened 6 years ago

aleclarson commented 6 years ago

It would be useful to have a toggle for hiding Flow errors not in the current tab's package.

This change would go great with #46.

rhysforyou commented 6 years ago

At work we have a few large-ish monorepos for shared React components, tool configurations, and so on. that we're managing with Lerna. We have our .flowconfig at the root of the repo, but it'd be nice to be able to isolate errors for a specific package.

aleclarson commented 6 years ago

@rpowelll Awesome, thank you for speaking up! 😄

This is also an issue if you have symlinks in node_modules that point to packages with Flow files.