facebook / facebook/flow

Allow importing a symlinked dir without parsing its types

Đang mở
#1,734 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
module resolution
Ngôn ngữ chính
Rust
Star
22.3k
Fork
1.9k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

When I use `npm link` to symlink a module, it's `node_modules` may have flow types that I don't want parsed.

```
myapp/node_modules/foo -> ../../../my-dev-dir/foo
```

If I try to ignore them...

```
[ignore]
.*/my-dev-dir/foo/node_modules/.*
```

The module `foo` breaks because it can't find the modules it references.

Basically, I don't want to have type checking ran on my `node_modules` or symlinked `node_modules`, and I don't want to get `required module not found`.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.