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 摘要。