Ignore node_modules except @custom_namespace or dir
- Dominant language
- Rust
- Stars
- 22.3k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
**We use in dependencies our own namespace and put there packages with flow validation. I want to put in packages files like: index.js and index.js.flow, it works fine, but I want to ignore validation all node_modules except our namespace.**
├── flow-typed
│ └── index.js
├── main.js
├── node_modules
│ ├── bar
│ │ ├── index.js
│ │ └── index.js.flow
│ ├── @custom
│ │ └── baz
│ │ ├── index.flow.js
│ │ └── index.js
I try to use OCaml regexp like: " .*/node_modules/[^@custom] /.* " but it doesn't not works.
I've tried to put my namespace in [include] but it doesn't works too.
I tried different variants but they all didn't work.
Is there any way to solve my problem ?
**flow version: Flow, a static type checker for JavaScript, version 0.61.0**
Contributor guide
Assessment
This issue has not been assessed yet.