flowjs/flow.js

Ignoring node modules does not respect links

Opened this issue · 0 comments

If you ignore a module that is linked via yarn it will not be ignored.
Example:

$module-a: yarn link
$module-b: yarn link "module-a"

//.flowconfig
[ignore]
.*/node_modules/.*

yarn run flow
../module-a/src/mycode.js:8
  8: export const doSomething = (a) => {
                                   ^^^^^ parameter `a`. Missing annotation

However, if I do a yarn add file:/module-a no errors are thrown.