facebook / facebook/flow

It doesn't ignore subfolders that contains .flowconfig inside including files.

未關閉
#3,161 0 則留言 3 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Rust
星號
22.3k
分支
1.9k
PR 合併指標
30 天內沒有已合併 PR

描述

I have a `cache` folder for docker that contains docker node_modules (so we don't need to download than every build) anyway... Flow doesn't ignore those folders.

I set to ignore that `node_modules` inside the `docker/cache` folder and it ignores that configuration when there is another `.flowconfig` in the subfolder that have `include` config... SO ANNOYING!

The only workaround that worked so far was using the options, what kills the `node_modules` resolution of flow.

```
[options]
module.system.node.resolve_dirname=node_modules
module.system.node.resolve_dirname=docker/cache/node_modules_development
module.system.node.resolve_dirname=docker/cache/node_modules_test
```

Please, fix that error, would be really be great if ignore actually ignore the files/folders, even if there is a .flowconfig inside such folder.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。