facebook / facebook/flow

A way to enable flow (in strict mode) for all files by default

Open
#7,003 1 comment 0 reactions 0 assignees View on GitHub
feature request
Dominant language
Rust
Stars
22.3k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

I want `@flow strict` to be the default in my project. In some cases, for particular files, I want to downgrade to non-strict `@flow` or to disable Flow altogether.

Is there any way to do this, without having to type `// @flow strict` in every single file?

- When I set `all=true`, I get thousands of errors from inside `node_modules`, and I can't see how to change this without breaking other things.
- Even with `all=true`, I can't see a way to make `strict` the default.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.